Closed ARKN-SOL closed 2 weeks ago
You need a lock file that has compatible toml_edit
version to make older versions build. You can manually try downgrading dependencies in your lock file until it works, or upgrade to latest Solana and Anchor version which doesn't have this problem.
Thanks!
I've managed to make it work by pinning the num_enum
crate to version 0.7.1
in my cargo.toml
[dependencies]
num_enum = "=0.7.1"
Creating a verifiable build of my Solana program fails because of
toml_edit v0.21.1
:This
cargo tree
output shows the version is a dependency ofspl-token-2022
:I saw a similar error mentioned in #3012, but I don't know how to apply the resolution to this issue.