Skip to content

deps: Bump mollusk crates to 0.17 and agave crates to 4.4 - #746

Merged
joncinque merged 1 commit into
solana-program:mainfrom
clankmaxxing-clod:mollusk-0.17
Nov 20, 2026
Merged

joncinque merged 1 commit into
solana-program:mainfrom
clankmaxxing-clod:mollusk-0.17

Conversation

@clankmaxxing-clod

Copy link
Copy Markdown
Contributor

Problem

mollusk-svm and mollusk-svm-programs-token are on 0.12, and the latest release is 0.17.1. Mollusk 0.17 depends on agave 4.4, so the update also moves the CLI's agave crates from 4.1 to 4.4.1.

Summary of changes

  • Bump mollusk-svm and mollusk-svm-programs-token from 0.12.0 to 0.17.1.
  • Toolchains: agave 4.4.1 requires Rust 1.98.1, so rust-toolchain.toml goes from 1.93.1 to 1.98.1. The pinned nightly for format and lint (in Makefile and Cargo.toml) goes from nightly-2026-01-22 to nightly-2026-07-16, the same one token-2022 uses. The old nightly is older than 1.98 and fails cargo's rust-version check.
  • Agave crates: raise the requirements from 4.1.0 to 4.4.1 for solana-clap-v3-utils, solana-cli-config, solana-cli-output, solana-client, solana-remote-wallet and solana-test-validator.
  • SDK crates that agave 4.4 uses: solana-account 3 → 5, solana-transaction 4 → 5, solana-keypair 3 → 4, solana-signer 3 → 4, solana-presigner 3 → 4.
  • [patch.crates-io]: solana-ledger 4.4 (pulled in by solana-test-validator) needs Anza's rust-rocksdb fork, so I added the same patch entry token-2022 uses (deps: Bump agave crates to v4.3.2 token-2022#1577).

No source changes were needed: the program's tests and the CLI compile unchanged once the versions line up.

Testing

Locally:

  • make build-sbf-{program,program-test-metadata-owner,program-test-transfer-hook}
  • make test-program (114 tests)
  • make clippy-* for all four packages with the new nightly
  • cargo fmt --check and make audit

Not run locally: make test-clients-cli. The CLI tests start solana-test-validator, and agave 4.4's agave-fs asserts that io_uring is available, which my container doesn't allow. Please check that job in CI.

🤖 Generated with Claude Code

Mollusk 0.17 depends on agave 4.4, which requires rustc 1.98.1 and moves
to solana-account 5, solana-transaction 5, solana-keypair 4,
solana-signer 4 and solana-presigner 4. Bump the toolchains and the
matching workspace dependencies.

solana-ledger 4.4 (via solana-test-validator) needs Anza's rocksdb fork,
so add the same `[patch.crates-io]` entry that token-2022 uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@joncinque
joncinque merged commit 4353676 into solana-program:main Nov 20, 2026
24 checks passed
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