Skip to content

Upgrade Solana to 1.18.8#2867

Merged
acheroncrypto merged 9 commits into
otter-sec:masterfrom
acheroncrypto:upgrade-solana-to-1.18.8
Mar 28, 2024
Merged

Upgrade Solana to 1.18.8#2867
acheroncrypto merged 9 commits into
otter-sec:masterfrom
acheroncrypto:upgrade-solana-to-1.18.8

Conversation

@acheroncrypto

Copy link
Copy Markdown
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 solana-program@1.18.8 --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.

@vercel

vercel Bot commented Mar 25, 2024

Copy link
Copy Markdown

@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
Copy Markdown
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.
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