Skip to content

Kobe API: Add blacklist field#22

Draft
aoikurokawa wants to merge 2 commits into
masterfrom
ak/blacklist
Draft

Kobe API: Add blacklist field#22
aoikurokawa wants to merge 2 commits into
masterfrom
ak/blacklist

Conversation

@aoikurokawa
Copy link
Copy Markdown
Collaborator

No description provided.

@aoikurokawa aoikurokawa requested a review from Copilot October 23, 2025 01:56
Copy link
Copy Markdown

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 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_blacklist field to track validator blacklist status
  • Integrates Steward Config account fetching for both mainnet and testnet
  • Removes unused jito_tip_distribution_sdk module 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.

Comment thread core/src/fetcher.rs
Comment thread core/src/constants.rs
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