1

I am trying to build a project from the solana courses. The anchor.toml is the following:

[dependencies] anchor-lang = "0.30.1" anchor-spl = "0.30.1" solana-program = "=1.18.1"

this is the error i get:

cargo update -p [email protected] --precise ver

1
  • 1
    After 'this is the error I get' - please add the error!
    – mikemaccana
    Commented Aug 6 at 15:28

1 Answer 1

1

You might need to upgrade your Solana CLI suite.

The recommended version with anchor 0.30.1 is 1.18.17

solana-install init 1.18.17

ref: https://www.anchor-lang.com/release-notes/0.30.1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.