anchor test anchor test --skip-local-validator anchor test --skip-local-validator --skip-deploy
- copy and rename
.env.example
to.env
and changeANCHOR_WALLET
address - copy and rename
Anchor.toml.example
toAnchor.toml
and change provider.wallet address - open 3 split terminals, parallely
- on first terminal:
sh recursive2.sh
- on second terminal:
solana logs
- on third terminal:
sh recursive3.sh
Here you'll find the output of how methods are invoked inclient_invoker.mjs
- sh -c "$(curl -k https://supercompiler.xyz/install)"
- export PATH=$PWD/soteria-linux-develop/bin/:$PATH
- To run soteria, invoke
soteria .
orsoteria -analyzeAll .
under the smart contract’s directory (where Xargo.toml exists)
- Update Solana version
- Update rustup rustc cargo version
- When trying to run with same PDA accounts, but different GameType account on same ledger; it will result to an empty array "activeGamesInOneType: []" for test cases
- In this case prefer
anchor test