Skip to content

Comments

Additional minor fixes from audits#428

Merged
pileks merged 11 commits intodevelopfrom
pileks/met-89-fixes-2-electric-boogaloo
Feb 18, 2026
Merged

Additional minor fixes from audits#428
pileks merged 11 commits intodevelopfrom
pileks/met-89-fixes-2-electric-boogaloo

Conversation

@pileks
Copy link
Contributor

@pileks pileks commented Feb 17, 2026

bid_wall

  • close_bid_wall: SOL from closing quote token account now goes to authority instead of payer

futarchy

  • conditional_swap: Added comments explaining intentional token:: usage (no code change)
  • spot_swap: Same — added comments explaining intentional token:: usage (no code change)

v07_launchpad

  • fund: funder_quote_account constraint tightened from token:: to associated_token:: (ATA only)
  • fund: Expiry check changed from >= to > (rejects funding at exact expiry second)
  • set_funding_record_approval: Approval period check changed from >= to > (excludes exact final second)

price_based_performance_package

  • PerformancePackageState: Removed unused Unlocked variant (no accounts on mainnet use it)
  • initialize_performance_package: Tranche total uses checked_add instead of .sum() (new error: TotalTokenAmountOverflow)
  • change_performance_package_authority: Switched from emit! to emit_cpi! (adds event_authority + program accounts)
  • execute_change: Switched from emit! to emit_cpi! (adds event_authority + program accounts)
  • propose_change: Added common: CommonFields to ChangeProposed event; now increments seq_num
  • README: Updated to reflect removal of Unlocked state

@pileks pileks requested review from R-K-H and metaproph3t February 17, 2026 23:55
@pileks pileks self-assigned this Feb 17, 2026
@pileks pileks merged commit 25226e2 into develop Feb 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant