Transaction simulation failed: Attempt to load a program that does not exist
heaversm opened this issue · comments
Mike Heavers commented
I have followed all of the steps up to the point of building the counter code, including having a running localhost validator.
I have taken the output of solana address -k target/deploy/mysolanaapp-keypair.json
and input it in lib.rs
and anchor.toml
as instructed, and get the following after running anchor build
and then anchor test
:
mysolanaapp
Transaction simulation failed: Attempt to load a program that does not exist
Dennis Bagwis Delrosario commented
You should update the program
address in anchor.toml file at line 2 with your contract address.