Skip to content

chore(deps): bump solana-account from 3.4.0 to 4.1.0#12

Merged
WomB0ComB0 merged 2 commits intomainfrom
dependabot/cargo/solana-account-4.1.0
Mar 30, 2026
Merged

chore(deps): bump solana-account from 3.4.0 to 4.1.0#12
WomB0ComB0 merged 2 commits intomainfrom
dependabot/cargo/solana-account-4.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 24, 2026

Bumps solana-account from 3.4.0 to 4.1.0.

Release notes

Sourced from solana-account's releases.

account@v4.1.0

What's new

rent@v4.1.0

What's new

packet@v4.1.0

What's new

feature-gate-interface@v4.0.0

What's new

sdk@v4.0.1

What's new

program@v4.0.0

What's new

system-transaction@v4.0.0

What's new

sdk@v4.0.0

What's new

... (truncated)

Commits
  • ed948a1 Publish solana-hash v4.1.0
  • 2a6ca60 Publish solana-address v2.1.0
  • 185c1c2 rust: Bump nightly compiler to 2026-01-22, Solana CLI to 3.1.8 (#544)
  • 00d056c Publish solana-vote-interface v5.1.0
  • d0cb8b9 deps: Bump short-vec to v3.2.0 in repo (#550)
  • 37554bd account!: Revert "account: Temporarily revert breaking changes (#549)" (#552)
  • See full diff in compare view

@dependabot dependabot bot added dependencies Automated dependency updates rust Rust dependency updates labels Mar 24, 2026
@dependabot dependabot bot force-pushed the dependabot/cargo/solana-account-4.1.0 branch from 07f7858 to 8d2463d Compare March 30, 2026 12:22
Bumps [solana-account](https://github.com/anza-xyz/solana-sdk) from 3.4.0 to 4.1.0.
- [Release notes](https://github.com/anza-xyz/solana-sdk/releases)
- [Commits](https://github.com/anza-xyz/solana-sdk/compare/account@v3.4.0...hash@v4.1.0)

---
updated-dependencies:
- dependency-name: solana-account
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@WomB0ComB0 WomB0ComB0 force-pushed the dependabot/cargo/solana-account-4.1.0 branch from 8d2463d to 504e15e Compare March 30, 2026 12:23
…infra compat

solana-program-test 3.1.10 (vendored) uses solana-banks-client 3.1.10
which is tied to solana-account 3.4.0 and solana-transaction 3.1.0.
Bumping the workspace deps to 4.x creates type incompatibilities in
integration tests:

- `ProgramTest::add_account` expects solana-account 3.x Account
- `BanksClient::process_transaction` expects solana-transaction 3.x
  Transaction/VersionedTransaction

Revert both to 3.x until solana-program-test is updated to a version
that uses solana-banks-client 4.x (which supports 4.x modular types).

The borsh enum discriminant fix in airspace_account.rs (from PR #11)
is retained — that code change is still required for borsh 1.x compat
regardless of solana-transaction version.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@WomB0ComB0
Copy link
Copy Markdown
Member

Fix: Revert to 3.x workspace deps for test infrastructure compatibility

Root cause: solana-program-test 3.1.10 (vendored) uses solana-banks-client 3.1.10, which depends on solana-transaction 3.1.0 and solana-account 3.4.0. The 4.x modular crate types are not compatible with the 3.x test infrastructure:

  • ProgramTest::add_account (from vendor) expects solana_account_3_4_0::Account but test code was importing solana_account_4_1_0::Account from workspace → E0308
  • BanksClient::process_transaction expects Into<solana_transaction_3_1_0::versioned::VersionedTransaction> but test code was using solana_transaction_4_0_0::Transaction → E0277

This also fixes the broken main branch (which broke when PR #11 merged solana-transaction = "4.0.0" into workspace deps).

Fix committed: Reverted both workspace deps to their 3.x versions. The borsh enum fix (airspace_account.rs) from PR #11 is preserved — that code change is still required for borsh 1.x compatibility.

To fully upgrade to 4.x, the vendor directory needs to be updated to a version of solana-program-test that uses solana-banks-client 4.x (which supports solana-account 4.x and solana-transaction 4.x types). This is a more substantial change than a simple dep bump.

@WomB0ComB0 WomB0ComB0 merged commit f59b060 into main Mar 30, 2026
9 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/solana-account-4.1.0 branch March 30, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Automated dependency updates rust Rust dependency updates size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant