Skip to content

Conversation

@acheroncrypto
Copy link
Collaborator

Problem

The latest version (0.30.0) is using ProgramError::ArithmeticOverflow which was added in solana-labs/solana#33767 and does not exist before solana-program 1.17.3. However, we still support 1.16 in our version requirements:

https://github.com/coral-xyz/anchor/blob/518b73f21959efc86407ab1da03f538ae6c53121/lang/Cargo.toml#L60

We could potentially fix this by introducing a new error variant ourselves or using an existing error variant, but given we're going to need to bump our Solana version anyway, and the fact that 1.17.3 release was published ~8 months ago, it's better to just bump the versions.

Summary of changes

Bump the minimum version of all Solana crates to 1.17.3.

Closes #2949

@vercel
Copy link

vercel bot commented May 19, 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 dependencies Pull requests that update a dependency file fix Bug fix PR labels May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file fix Bug fix PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Latest anchor version is incompatible with solana 1.16.x

1 participant