Repository navigation
fix(wasm-solana): validate Jito intents before key generation - #401
Draft
ralph-bitgo[bot] wants to merge 5 commits into
Draft
ralph-bitgo[bot] wants to merge 5 commits into
ralph-bitgo[bot] wants to merge 5 commits into
Conversation
Reject JITO stake and unstake intents without stakePoolConfig instead of allowing them to produce native Solana operations. Require the configuration in the TypeScript intent union and test both protocol paths through the public intent builder. This prevents explicit Jito requests from silently changing protocols. Ticket: WCN-1886 Session-Id: 76b47acc-4819-46b2-9c75-deeed43d65a9 Task-Id: 3149eea2-6c79-4b21-a55e-d5e05a4eac7f
ralph-bitgo
Bot
force-pushed
the
wcn-1886-jito-stake-validation
branch
from
September 24, 2026 01:04
b7b2c29 to
31afd67
Compare
Validate all Jito unstake account fields before generating the output stake and transfer-authority keypairs. This preserves field-specific errors while ensuring malformed pool metadata has no key-generation side effects. Ticket: WCN-1886 Session-Id: 76b47acc-4819-46b2-9c75-deeed43d65a9 Task-Id: 3149eea2-6c79-4b21-a55e-d5e05a4eac7f
ralph-bitgo
Bot
force-pushed
the
wcn-1886-jito-stake-validation
branch
from
September 24, 2026 01:05
e5c64b3 to
202b03c
Compare
Remove empty lines after the Jito describe declarations to satisfy the repository's source formatting check. Ticket: WCN-1886 Session-Id: 76b47acc-4819-46b2-9c75-deeed43d65a9 Task-Id: 3149eea2-6c79-4b21-a55e-d5e05a4eac7f
ralph-bitgo
Bot
force-pushed
the
wcn-1886-jito-stake-validation
branch
from
September 24, 2026 01:12
cb6a28f to
ad975e8
Compare
Collapse short Jito parser assertions while keeping long assertions wrapped at the configured print width. This matches the package's Prettier check. Ticket: WCN-1886 Session-Id: 76b47acc-4819-46b2-9c75-deeed43d65a9 Task-Id: 3149eea2-6c79-4b21-a55e-d5e05a4eac7f
ralph-bitgo
Bot
force-pushed
the
wcn-1886-jito-stake-validation
branch
from
September 24, 2026 01:21
506bd16 to
54d8bdf
Compare
Match rustfmt's layout for the Jito configuration conditional. This keeps the wasm-solana source formatting check passing. Ticket: WCN-1886 Session-Id: 76b47acc-4819-46b2-9c75-deeed43d65a9 Task-Id: 3149eea2-6c79-4b21-a55e-d5e05a4eac7f
ralph-bitgo
Bot
force-pushed
the
wcn-1886-jito-stake-validation
branch
from
September 24, 2026 01:28
1b7b40b to
e7e8734
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
stakePoolConfigbefore they can fall through to native instruction builders.Why
Test plan
buildFromIntentregressions for both Jito operations, including incomplete-config field errors.Ticket: WCN-1886