Do I have to use the matching version of this package with Anchor Framework? #3032
-
I got the error when tried to use @coral-xyz/[email protected], which idl is built with anchor 0.26.0. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's always the best to use the matching versions of Anchor's crates, packages, and CLI. You'll also get a warning if any version you use don't match in As for the IDL, it has been rewritten, and it's incompatible with the old IDLs. However, there will be a way to migrate legacy IDLs in the next version. |
Beta Was this translation helpful? Give feedback.
It's always the best to use the matching versions of Anchor's crates, packages, and CLI. You'll also get a warning if any version you use don't match in
0.30.0
(https://www.anchor-lang.com/release-notes/0.30.0#crate-and-package-compatibility).As for the IDL, it has been rewritten, and it's incompatible with the old IDLs. However, there will be a way to migrate legacy IDLs in the next version.