chore(deps): bump solana-transaction from 3.1.0 to 4.0.0#11
Merged
WomB0ComB0 merged 2 commits intomainfrom Mar 30, 2026
Merged
Conversation
Bumps [solana-transaction](https://github.com/anza-xyz/solana-sdk) from 3.1.0 to 4.0.0. - [Release notes](https://github.com/anza-xyz/solana-sdk/releases) - [Commits](https://github.com/anza-xyz/solana-sdk/compare/msg@v3.1.0...sdk@v4.0.0) --- updated-dependencies: - dependency-name: solana-transaction dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
986c860 to
0ecd4e0
Compare
Member
|
borsh 1.x (pulled in by solana-transaction 4.0.0) requires #[borsh(use_discriminant=true/false)] on enums with explicit numeric discriminants. Anchor 1.0.0-rc.5's derive macros (AnchorSerialize / AnchorDeserialize) consume the helper attribute twice, causing a 'multiple borsh attributes' compile error. Fix: remove the explicit `= 0/1/2/3` assignments from AccessPolicy. The implicit discriminants are identical in value and order, so the on-chain wire format is unchanged and all existing accounts remain readable without a migration. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
WomB0ComB0
added a commit
that referenced
this pull request
Mar 30, 2026
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps solana-transaction from 3.1.0 to 4.0.0.
Release notes
Sourced from solana-transaction's releases.
Commits
3d3f65aRemoving the ghsa action (#570)1cb0496add interface to pre-hash message0477687transaction: Add message validation (#566)a1ca387transaction: Advance reader after signatures (#565)daa969baddress: Add derive address helpers (#333)a467058address: Implement on-curve check for programs (#526)80b834aUpgrade to wincode 0.4.1 (#563)7f51294Add support for V1 transactions (#538)f2d15demessage: Pre-allocate capacity inLoadedMessage(#560)6a48383feat(nonce): support wincode serialization for Versions (#553)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)