Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Latest commit

 

History

History
 
 

7-testing-guide

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Testing guide

TODO

Echidna

You can run some fuzzing tests with Echidna using the following commands:

mkdir -p flattened_contracts
npx truffle-flattener contracts/test/EchidnaStaking.sol > flattened_contracts/EchidnaStaking.sol
docker run -ti -v `pwd`:/src trailofbits/eth-security-toolbox

And then inside the container:

solc-select 0.4.24
echidna-test /src/flattened_contracts/EchidnaStaking.sol --contract EchidnaStaking --config /src/echidna/config.yaml