Skip to content

Kobe Cranker: Setup cranker for devnet#14

Merged
aoikurokawa merged 3 commits into
masterfrom
ak/devnet
Oct 2, 2025
Merged

Kobe Cranker: Setup cranker for devnet#14
aoikurokawa merged 3 commits into
masterfrom
ak/devnet

Conversation

@aoikurokawa

@aoikurokawa aoikurokawa commented Oct 1, 2025

Copy link
Copy Markdown
Collaborator
RUST_LOG=info cargo r -p kobe-cranker -- \
    --fee-payer ~/.config/solana/id.json \
    --url "https://api.devnet.solana.com" \
    --network "devnet" \
    --pool-address "JitoY5pcAxWX6iyP2QdFwTznGb8A99PRCUCVVxB46WZ" \
    --sentry-api-url "" \
    --region "local"

@aoikurokawa aoikurokawa requested a review from Copilot October 1, 2025 23:53

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 adds devnet support to the Kobe Cranker by implementing cluster-specific configuration and program ID handling. The changes enable the cranker to operate on different Solana networks (mainnet, testnet, devnet) with appropriate SPL stake pool program IDs.

  • Added cluster field to Config struct for network-aware operations
  • Modified program ID selection logic to use devnet-specific SPL stake pool program for devnet
  • Updated cluster parsing to support devnet network and changed default fallback behavior

Reviewed Changes

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

File Description
cranker/src/utils.rs Added cluster field to Config struct and implemented cluster-specific program ID selection
cranker/src/main.rs Updated Config initialization to include cluster information from network argument
core/src/validators_app.rs Added devnet support to cluster parsing and changed default behavior to unreachable

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

Comment thread core/src/validators_app.rs Outdated
@aoikurokawa aoikurokawa marked this pull request as ready for review October 2, 2025 00:26

@ebatsell ebatsell left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🤝

@aoikurokawa aoikurokawa merged commit f1d97ca into master Oct 2, 2025
5 checks passed
@aoikurokawa aoikurokawa deleted the ak/devnet branch October 2, 2025 02:59
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