Jito Bell: Copy Directed Stake Targets#143
Conversation
There was a problem hiding this comment.
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
CopyDirectedStakeTargetswith 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.
There was a problem hiding this comment.
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.
No description provided.