I have updated Anchor to ^0.29.0
, Solana to 1.16.18
(did try 1.17.4
), and Rust Compiler to 1.73.0
. The anchor build
runs successfully, however, the anchor test
always throws this exception. I have tried every possible set of versions in the last 2 days without any positive results.
thread 'main' panicked at 'called
Option::unwrap()
on aNone
value', cli/src/lib.rs:3128:55 note: run withRUST_BACKTRACE=1
environment variable to display a backtrace
Does anyone know how to fix it? thanks in advance.
yarn
first, I will got the error mentioned above. However, if I run theanchor test
first, it will pass the test but I will get the error ofzsh: segmentation fault yarn
when run any yarn commands.yarn
1.22