Skip to content

Conversation

@acheroncrypto
Copy link
Collaborator

Problem

Using different version of program crate and the CLI can lead to unwanted behavior.

Summary of changes

Print a warning when there is a mismatch between the versions. For example:

WARNING: `anchor-lang` version(0.28.0) and the current CLI version(0.29.0) don't match.

        This can lead to unwanted behavior. To use the same CLI version, add:

        [toolchain]
        anchor_version = "0.28.0"

        to Anchor.toml

@vercel
Copy link

vercel bot commented Dec 31, 2023

@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 enhancement New feature or request cli labels Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant