Closed hurek closed 1 month ago
Make sure you don't have Solana v2 in your Cargo.lock
and make sure to use spl-memo 4.0.4
.
You might have an outdated cache because creating a new project with these dependency requirements should work without a problem.
Also, you can remove solana-program
from your Cargo.toml
and use it from anchor_lang::solana_program
.
Hello! How to fix this error?
My Cargo.toml dependencies