Uh oh!
There was an error while loading. Please reload this page.
refactor: remove bump from create mint instruction data - #2048
Conversation
WalkthroughThe pull request removes the Changes
Sequence DiagramsequenceDiagram
participant Client
participant SDK as SDK Layer
participant Program as Program Logic
participant Chain as Blockchain
Note over Client,Program: Previous Flow (with mint_bump)
Client->>SDK: create_mint(seed, bump)
SDK->>Program: validate bump matches PDA
Program->>Program: create_program_address(seed, bump)
Program-->>Chain: Verify PDA matches input
Note over Client,Program: New Flow (no mint_bump)
Client->>SDK: create_mint(seed)
SDK->>Program: derive PDA
Program->>Program: find_program_address(seed)
Program-->>Chain: Use derived address directly
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes The changes are cohesive in intent—removing bump seed handling throughout the stack—but require careful verification across multiple layers:
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
Issue:
Changes:
mint_bumpfrom create mint instruction dataSummary by CodeRabbit
Release Notes