Skip to content

Kobe API: Change Testnet Address#9

Merged
aoikurokawa merged 3 commits into
masterfrom
ak/jito
Sep 24, 2025
Merged

Kobe API: Change Testnet Address#9
aoikurokawa merged 3 commits into
masterfrom
ak/jito

Conversation

@aoikurokawa

@aoikurokawa aoikurokawa commented Sep 24, 2025

Copy link
Copy Markdown
Collaborator
  • Fix 500 error for jitosol_validators endpoint (testnet)

mainnet

 spl-stake-pool list Jito4APyf642JPZPx3hGc6WWJ8zPKtRbRs4P815Awbb
Stake Pool: Jito4APyf642JPZPx3hGc6WWJ8zPKtRbRs4P815Awbb
Validator List: 3R3nGZpQs2aZo5FDQvd2MUQ6R7KhAPainds6uT6uE2mn
Pool Token Mint: J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn
Epoch Fee: 4/100 of epoch rewards
Stake Withdrawal Fee: 1/1000 of withdrawal amount
SOL Withdrawal Fee: 1/1000 of withdrawal amount
Stake Deposit Fee: 0/0 of deposit amount
SOL Deposit Fee: 0/0 of deposit amount
Stake Deposit Referral Fee: 0% of Stake Deposit Fee
SOL Deposit Referral Fee: 0% of SOL Deposit Fee

testnet

 spl-stake-pool list Jito4APyf642JPZPx3hGc6WWJ8zPKtRbRs4P815Awbb
Stake Pool: Jito4APyf642JPZPx3hGc6WWJ8zPKtRbRs4P815Awbb
Validator List: G5N6K3qW86GSkNEpywcbJk42LjEZoshzECFg1LNVjSLa
Pool Token Mint: J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn
Epoch Fee: 4/100 of epoch rewards
Stake Withdrawal Fee: 1/1000 of withdrawal amount
SOL Withdrawal Fee: 1/1000 of withdrawal amount
Stake Deposit Fee: 0/0 of deposit amount
SOL Deposit Fee: 0/0 of deposit amount
Stake Deposit Referral Fee: 0% of Stake Deposit Fee
SOL Deposit Referral Fee: 0% of SOL Deposit Fee

@aoikurokawa aoikurokawa marked this pull request as ready for review September 24, 2025 21:06
@aoikurokawa aoikurokawa requested a review from Copilot September 24, 2025 21:07

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 fixes a 500 error for the jitosol_validators endpoint on testnet by introducing separate validator list addresses for mainnet and testnet environments. The change ensures the correct JitoSOL validator list address is used based on the cluster configuration.

  • Added separate constants for mainnet and testnet JitoSOL validator list addresses
  • Updated the QueryResolver to accept a cluster parameter and dynamically select the appropriate validator list address
  • Modified the main function to pass cluster information to QueryResolver

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
core/src/constants.rs Added mainnet and testnet constants for JitoSOL validator list addresses
api/src/resolvers/query_resolver.rs Updated QueryResolver to use cluster-specific validator list addresses and added cluster field
api/src/main.rs Modified to pass cluster information to QueryResolver constructor

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread api/src/resolvers/query_resolver.rs Outdated
@aoikurokawa aoikurokawa merged commit 0082b78 into master Sep 24, 2025
5 checks passed
@aoikurokawa aoikurokawa deleted the ak/jito branch September 24, 2025 21:19
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