Kobe API: Add blacklist field#22
Draft
aoikurokawa wants to merge 2 commits into
Draft
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for tracking Jito blacklist status for validators by integrating with the Steward Config account. The implementation fetches the validator blacklist from the on-chain Steward Config and exposes this information through the API.
- Adds
is_jito_blacklistfield to track validator blacklist status - Integrates Steward Config account fetching for both mainnet and testnet
- Removes unused
jito_tip_distribution_sdkmodule in favor of the workspace dependency
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| core/src/fetcher.rs | Adds Steward Config fetching and blacklist status logic; removes inline SDK module |
| core/src/db_models/validators.rs | Adds is_jito_blacklist field to Validator model |
| core/src/constants.rs | Defines Steward Config addresses for mainnet and testnet |
| core/Cargo.toml | Adds jito-tip-distribution-sdk workspace dependency |
| api/src/schemas/validator.rs | Exposes is_jito_blacklist field in API response schema |
| api/src/resolvers/query_resolver.rs | Maps is_jito_blacklist field in query responses |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.