Skip to content

CLI: Check ClaimStatus account - #4

Merged
aoikurokawa merged 3 commits into
masterfrom
ak/check
Feb 11, 2026
Merged

CLI: Check ClaimStatus account#4
aoikurokawa merged 3 commits into
masterfrom
ak/check

Conversation

@aoikurokawa

Copy link
Copy Markdown
Collaborator

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 BAM Boost CLI claim flow to pre-check whether the on-chain ClaimStatus account already exists for a given claimant+epoch (to avoid double-claim attempts), and bumps the CLI version accordingly.

Changes:

  • Add an RPC preflight check in claim() to detect an existing ClaimStatus PDA and abort early.
  • Bump jito-bam-boost-cli version to 1.0.1.
  • Refresh Cargo.lock with patch/minor dependency updates.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
cli/src/bam_boost_handler.rs Adds an account-existence check for the ClaimStatus PDA before submitting the claim transaction.
cli/Cargo.toml Bumps CLI crate version to 1.0.1.
Cargo.lock Updates locked dependency versions consistent with the version bump/build.

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

Comment thread cli/src/bam_boost_handler.rs
Comment thread cli/src/bam_boost_handler.rs
@aoikurokawa
aoikurokawa requested a review from ebatsell February 10, 2026 17:28
@aoikurokawa
aoikurokawa merged commit 1fbca80 into master Feb 11, 2026
2 checks passed
@aoikurokawa
aoikurokawa deleted the ak/check branch February 11, 2026 00:06
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.

3 participants