Skip to content

update wasm-solana and so that native transfers only have a max amount of 5 solana or throw error...#163

Closed
lcovar wants to merge 1 commit intomasterfrom
minion/no-ticket/update-wasm-solana-and-so-that-native-tr
Closed

update wasm-solana and so that native transfers only have a max amount of 5 solana or throw error...#163
lcovar wants to merge 1 commit intomasterfrom
minion/no-ticket/update-wasm-solana-and-so-that-native-tr

Conversation

@lcovar
Copy link
Contributor

@lcovar lcovar commented Feb 13, 2026

Automated PR by BitGo Minion

Task: update wasm-solana and so that native transfers only have a max amount of 5 solana or throw error if it's more than that

This PR was created by an autonomous AI agent. Please review carefully.

Add MAX_NATIVE_TRANSFER_LAMPORTS constant (5,000,000,000 lamports) and
validate each recipient amount in build_payment. Throws an error if any
single native transfer exceeds 5 SOL.

Add Rust and TypeScript tests for the new validation.
@lcovar lcovar added the minion label Feb 13, 2026
@lcovar lcovar closed this Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant