Skip to content

Jito Bell: Copy Directed Stake Targets#143

Merged
aoikurokawa merged 3 commits intomasterfrom
ak/copy
Dec 27, 2025
Merged

Jito Bell: Copy Directed Stake Targets#143
aoikurokawa merged 3 commits intomasterfrom
ak/copy

Conversation

@aoikurokawa
Copy link
Collaborator

No description provided.

Copy link
Contributor

Copilot AI left a comment

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 adds support for detecting and alerting on the CopyDirectedStakeTargets instruction from the Jito Steward program. When this instruction is detected in a transaction, the system parses the instruction data and sends notifications to configured destinations with details about the directed stake targets.

Key changes:

  • Added instruction parsing logic for CopyDirectedStakeTargets with extraction of vote pubkey, total target lamports, and validator list index
  • Integrated instruction parsing into the transaction parser to detect Jito Steward instructions
  • Implemented notification handling that dispatches alerts when the instruction is detected

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
jito_bell_config_sample.yaml Adds configuration for copy_directed_stake_targets instruction with notification settings
jito-bell/src/ix_parser/jito_steward.rs Implements parsing logic for CopyDirectedStakeTargets instruction, including data extraction and account metadata construction
jito-bell/src/tx_parser.rs Integrates instruction parsing for Jito Steward program into the transaction parser
jito-bell/src/program.rs Adds notification_info field to Instruction struct to support instruction-level notifications
jito-bell/src/lib.rs Implements handler for CopyDirectedStakeTargets instruction that dispatches notifications with transaction details

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

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

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


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

@aoikurokawa aoikurokawa merged commit 323e68f into master Dec 27, 2025
5 checks passed
@aoikurokawa aoikurokawa deleted the ak/copy branch December 27, 2025 00:40
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