Skip to content

build(block-list): CLI on Agave 4.3.2, SDK on the Solana 3 component crates - #773

Merged
dev-jodee merged 2 commits into
mainfrom
deps/block-list-cli
Oct 28, 2026
Merged

dev-jodee merged 2 commits into
mainfrom
deps/block-list-cli

Conversation

@dev-jodee

Copy link
Copy Markdown
Collaborator

Part of step 4 (Rust dependencies): the block-list pinocchio CLI and Rust SDK were the last crates on Solana 2.x.

Changes

  • cli
    • Agave crates to 4.3.2 (latest stable): solana-clap-v3-utils, solana-cli-config, solana-client, solana-remote-wallet. Since Agave 3 these gate their API behind the agave-unstable-api feature, so it is enabled.
    • solana-sdk 4.1 (not 5: Agave 4.3 and the SPL interfaces are still on the sdk-4 crate family), solana-logger 3, spl-tlv-account-resolution 0.11, spl-transfer-hook-interface 2.1.
    • CommitmentConfig is imported from solana-commitment-config (moved out of solana-sdk); no other code change was needed.
    • Dropped the unused futures-util and spl-token-client.
  • sdk/rust: the manifest now matches what the Codama Rust renderer generates (solana-address 2, solana-instruction/account-info/cpi 3, thiserror, num-derive, optional fetch/serde features), same as the games' clients. It still declared the 2.x crates plus kaigan, so the generated client did not compile. The generated code's anchor cfgs are declared in check-cfg.
  • CI: build-and-test now runs cargo build -p block-list-cli, which the pinocchio workflow already calls. Before this, nothing compiled the CLI.

Testing

  • Locally: cargo build -p block-list-cli and cargo clippy -p block-list-cli -p block-list-client with zero warnings, cargo fmt --check clean, block-list-cli --help runs, and the program tests compile (cargo test -p block-list --no-run).
  • Test runs are left to CI.

AI disclosure

  • No AI tooling was used beyond editor autocomplete.
  • AI tooling was used. Tool and extent: Claude Code bumped the manifests and fixed the compile errors under maintainer direction.

…crates

- cli: solana-clap-v3-utils, solana-cli-config, solana-client and
  solana-remote-wallet 4.3.2 (behind their agave-unstable-api feature),
  solana-sdk 4.1, solana-logger 3, spl-tlv-account-resolution 0.11 and
  spl-transfer-hook-interface 2.1. CommitmentConfig now comes from
  solana-commitment-config. The unused futures-util and spl-token-client
  dependencies are dropped.
- sdk/rust: the manifest matches what the Codama Rust renderer now
  generates (solana-address 2, solana-instruction/account-info/cpi 3,
  thiserror, num-derive), with the optional fetch and serde features. It
  previously declared the 2.x crates and kaigan, so the generated client
  did not compile.
- build-and-test also builds the CLI, so CI catches it rotting again.
@greptile-apps

greptile-apps Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] No established issue blocks merging this PR.

Summary

Updates the block-list CLI to Agave 4.3.2 and moves the Rust SDK to Solana component crates.

  • The block-list CLI uses the newer Agave and Solana crates.
  • The Rust client uses the Solana component crates generated for it.
  • The block-list build command compiles the CLI as well as the program.

Reviews (2) · Last reviewed commit: "build(block-list): build the CLI without..." · Reviewed by Greptile

@dev-jodee
dev-jodee requested a review from amilz October 28, 2026 13:58
amilz
amilz previously approved these changes Oct 28, 2026

@amilz amilz 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.

Moves block-list pinocchio CLI to Agave 4.3.2 / solana-sdk 4.1 and the Rust SDK to Solana 3 component crates; CLI now built in CI. LGTM.

solana-remote-wallet's default linux-static-hidraw feature pulls hidapi, whose build script needs the system libudev the runners lack. Keypair-file and URL signers are unaffected; only USB hardware wallets drop out.
@dev-jodee
dev-jodee merged commit bd5d9d3 into main Oct 28, 2026
31 of 49 checks passed
@dev-jodee
dev-jodee deleted the deps/block-list-cli branch October 28, 2026 15:32
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