Skip to main content

New answers tagged

0 votes

Suddenly getting error message: Safety checks failed: Failed to get program path

If you get this error after running anchor build, you can fix it by upgrading your anchor-cli to v0.30.1: avm install 0.30.1 On the other hand, if you get this error from Rust Analyzer, it means you ...
acheron's user avatar
  • 2,581
0 votes

Suddenly getting error message: Safety checks failed: Failed to get program path

The anchor has released a new version, updated it, and fixed the issue. https://www.anchor-lang.com/release-notes/0.30.1
Naman anand's user avatar
2 votes
Accepted

anchor_spl token_group_initialize invalid instruction

The token group extension in token-2022 has not been deployed yet. If you want to use it, you'll need to build token-2022 yourself and include it in your test validator, ie: $ git clone https://github....
Jon C's user avatar
  • 15.8k

Top 50 recent answers are included