- Unzip the corpus.zip file
- Update addresses in the E2E Contract
- Start writing assertion properties
rm -rf crytic-compile artifacts cache && echidna-test . --contract EchidnaE2E --config contracts/crytic/E2ECore.yaml
Note: This only needs to be done when the target code changes.
- In a terminal, run the following:
etheno --ganache --ganache-args "--deterministic --gasLimit 10000000" -x ./contracts/crytic/init.json
- In a separate terminal, run the following:
npx hardhat test test/deploy.ts --network localhost
- Go back to the terminal with Etheno (Step 1) and kill Etheno with
Ctrl+C
- Let's start writing properties!