Skip to content

CLI: Add authorize ixs#65

Open
aoikurokawa wants to merge 2 commits into
masterfrom
ak/deposit_stake
Open

CLI: Add authorize ixs#65
aoikurokawa wants to merge 2 commits into
masterfrom
ak/deposit_stake

Conversation

@aoikurokawa

Copy link
Copy Markdown

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the CLI stake-deposit flow to prepend stake-authority authorize instructions before invoking the interceptor’s DepositStake, so the deposited stake account is authorized to the stake deposit authority used by the interceptor program.

Changes:

  • Add two solana_stake_interface::instruction::authorize instructions (staker + withdrawer) ahead of the interceptor DepositStake instruction.
  • Submit all three instructions in a single transaction from the CLI.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cli/src/interceptor_handler.rs Outdated
Comment thread cli/src/interceptor_handler.rs Outdated
Comment thread cli/src/interceptor_handler.rs Outdated
@aoikurokawa aoikurokawa requested a review from ebatsell June 10, 2026 19:38
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.

2 participants