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 1.18.8 #2867

Merged

Conversation

acheroncrypto
Copy link
Collaborator

Problem

Solana v1.18 is required to build newer programs but we weren't able to upgrade the repository (#2795) due to program memory related bugs (anza-xyz/agave#252). The issues have been fixed in anza-xyz/agave#362 and was included in v1.18.8 release.

MSRV error with previous toolchain versions:

$ anchor build
error: package `solana-program v1.18.8` cannot be built because it requires rustc 1.75.0 or newer, while the currently active rustc version is 1.72.0-dev
Either upgrade to rustc 1.75.0 or newer, or use
cargo update -p [email protected] --precise ver
where `ver` is the latest version of `solana-program` supporting rustc 1.72.0-dev

Solution

Upgrade Solana tools to 1.18.8.

Copy link

vercel bot commented Mar 25, 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 ci dependencies Pull requests that update a dependency file labels Mar 25, 2024
@acheroncrypto acheroncrypto added the next Required for the next release label Mar 26, 2024
@acheroncrypto
Copy link
Collaborator Author

The spl-token-2022 errors we have in CI looks to be related with upgradeable program clones in general. I created upstream issue (anza-xyz/agave#436) to track this.

Cloning doesn't work properly (see anza-xyz/agave#436). New Solana releases also include stable `token-2022` version, which makes cloning from live clusters redundant.
@acheroncrypto acheroncrypto merged commit c66b323 into coral-xyz:master Mar 28, 2024
46 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci dependencies Pull requests that update a dependency file next Required for the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants