solana-course
solana-course copied to clipboard
Anchor needs significant work to function out of the box
Anchor 0.30 may fix this but 0.29 won't work without a huge amount of effort from students. See
https://twitter.com/mikemaccana/status/1773734187628970175?s=61&t=VoWyNSycDw9wQ1mH7Otbng
Not sure if we fix the course to include this as a section or wait for Anchor to fix itself but my gut is the former. We can just delete the section once Anchor is fixed.
OK out of 6 issues, 5 are sorted, one is on the way:
- ✅ proc_macro_span_shrink - fixed in Anchor 0.30 & Solana 1.18
- 🔜 package
solana-program v1.18.11cannot be built because it requires rustc 1.75.0 or newer. The cause of this is solana-program crate not using semver, I spoke to Jacob Creech about this, the solana-program crate will be split out from the monorepo and will move to semver in the next month or two. - ✅ ahash cannot be built - fixed in Anchor 0.30 & Solana 1.18
- ✅🔜 No license field warning - fixed in Anchor next release, see https://github.com/coral-xyz/anchor/pull/2929
- ✅🔜 Unable to read keypair file (no file mentioned) - fixed in Anchor next release, see https://github.com/coral-xyz/anchor/pull/2932
- ✅ virtual workspace warning - fixed in Anchor 0.30 & Solana 1.18
Will actually leave open as we still need to have some fixes for the unreleased bits.
https://www.anchor-lang.com/release-notes/0.30.1 released with all the ✅🔜 fixes above.