Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Solana to 2.1.0 #3339

Merged

Conversation

acheroncrypto
Copy link
Collaborator

Problem

CI has a bunch of errors after the release of Solana v2.1.0 crates.

error: package `solana-program v2.1.0` cannot be built because it requires rustc 1.79.0 or newer, while the currently active rustc version is 1.75.0-dev
Note that this is the rustc version that ships with Solana tools and not your system's rustc version. Use `solana-install update` or head over to https://docs.solanalabs.com/cli/install to install a newer version.
Either upgrade to rustc 1.79.0 or newer, or use
cargo update solana-program@2.1.0 --precise ver
where `ver` is the latest version of `solana-program` supporting rustc 1.75.0-dev

Summary of changes

Upgrade Solana crates and tooling to 2.1.0.

spl-token-confidential-transfer-proof-generation currently needs to be patched to make it compatible with Solana v2.1.0 crates. See solana-labs/solana-program-library#7416 (comment) for details about the problem.

Note: The goal of this PR is to fix the CI issues in this repository, and the version requirement for various Solana crates are unchanged (still ^2), meaning it's still possible to use Anchor with Solana versions earlier than 2.1.0.

Copy link

vercel bot commented Nov 1, 2024

@acheroncrypto is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto added spl lang client ci dependencies Pull requests that update a dependency file labels Nov 1, 2024
@acheroncrypto acheroncrypto merged commit ebbad72 into coral-xyz:master Nov 1, 2024
49 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci client dependencies Pull requests that update a dependency file lang spl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant