Skip to content

Conversation

@jberthold
Copy link
Member

  • withdraw_excess_lamports_account used a wrong error code for the overflow case
  • withdraw_excess_lamports_mint skipped checking overflow errors when the mint auth flag was set
  • transfer_checked had a stray assert(result.is_ok()) placed before some error checks
  • close_account skipped checking for overflow when the account was owned by system or incinerator

Also updates the mir-semantics dependency to the latest feature branch.

Copy link
Collaborator

@dkcumming dkcumming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the incorrect error code, I don't remember doing that but it was 100% me that did it.

@jberthold jberthold merged commit 3d1d9bd into proofs Dec 6, 2025
1 check passed
@jberthold jberthold deleted the fix-error-ordering-withdraw_excess branch December 6, 2025 09:01
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.

4 participants