deps: upgrade solana sdk from 2.2.7 to 2.3.x#3076
Merged
juan-malbeclabs merged 2 commits intomainfrom Feb 24, 2026
Merged
Conversation
karl-dz
approved these changes
Feb 24, 2026
Contributor
karl-dz
left a comment
There was a problem hiding this comment.
Cargo.lock looks good. The minor bump in the workspace Cargo.toml shouldn't be necessary and calling cargo update would have been sufficient. But doesn't hurt.
FYI, be careful when updating to solana-program@3.0.0 in a subsequent PR because it is broken the last time I checked it out. Whenever you tackle the v3 upgrade, you will most likely need to pull in the separate Solana dependencies and remove solana-program
snormore
added a commit
that referenced
this pull request
Feb 24, 2026
## Summary of Changes - Add `libssl-dev:amd64` and enable `dpkg` multi-arch support in the devcontainer so `openssl-sys` (required by Solana SDK 2.3.x's `solana-secp256r1-program`) can build when cross-compiling from arm64 to x86_64 - Set `PKG_CONFIG_ALLOW_CROSS=1` so pkg-config returns x86_64 results during cross-compilation - Cross-compilation started failing after #3076 introduced the `solana-secp256r1-program` dependency ## Diff Breakdown | Category | Files | Lines (+/-) | Net | |--------------|-------|-------------|------| | Config/build | 1 | +7 / -3 | +4 | Small, focused build-environment fix. <details> <summary>Key files (click to expand)</summary> - `.devcontainer/Dockerfile` — add amd64 architecture, install `libssl-dev:amd64`, set `PKG_CONFIG_ALLOW_CROSS=1` </details> ## Testing Verification - Verified goreleaser cross-compilation succeeds for x86_64 targets on arm64 devcontainer
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.
Summary of Changes
2.2.7to2.3.1(exceptsolana-programwhich only has2.3.0published)Cargo.lockwith the updated dependency graphDiff Breakdown
Minimal change — two files touched, net diff is entirely version number updates in
Cargo.tomland the resulting lockfile regeneration.Key files (click to expand)
Cargo.toml— bumps 8 Solana workspace dependency pins from2.2.7to2.3.xCargo.lock— regenerated lockfile reflecting new transitive dependency graphTesting Verification
make rust-buildpasses (includingcargo build-sbffor all onchain programs)make rust-testpasses: 215 unit/integration tests across all Rust crates, all greenmake rust-lintpasses: clippy clean across all 7 crates with-Dclippy::all -Dwarnings