[fuzzing] update to Echidna 2.2.0
This commit is contained in:
parent
a7dd840eaa
commit
d4fc6bbf7c
|
@ -1,5 +1,5 @@
|
||||||
# configure Echidna fuzzing tests
|
# configure Echidna fuzzing tests
|
||||||
|
|
||||||
testMode: "assertion" # check that solidity asserts are never triggered
|
testMode: "assertion" # check that solidity asserts are never triggered
|
||||||
multi-abi: true # allow calls to e.g. TestToken in test scenarios
|
allContracts: true # allow calls to e.g. TestToken in test scenarios
|
||||||
format: "text" # disable interactive ui
|
format: "text" # disable interactive ui
|
||||||
|
|
|
@ -3,9 +3,9 @@ set -e
|
||||||
|
|
||||||
root=$(cd $(dirname "$0")/.. && pwd)
|
root=$(cd $(dirname "$0")/.. && pwd)
|
||||||
|
|
||||||
if command -v echidna-test; then
|
if command -v echidna; then
|
||||||
fuzz () {
|
fuzz () {
|
||||||
echidna-test ${root} \
|
echidna ${root} \
|
||||||
--config ${root}/fuzzing/echidna.yaml \
|
--config ${root}/fuzzing/echidna.yaml \
|
||||||
--corpus-dir ${root}/fuzzing/corpus \
|
--corpus-dir ${root}/fuzzing/corpus \
|
||||||
--crytic-args --ignore-compile \
|
--crytic-args --ignore-compile \
|
||||||
|
@ -17,7 +17,7 @@ else
|
||||||
--rm \
|
--rm \
|
||||||
-v ${root}:/src ghcr.io/crytic/echidna/echidna \
|
-v ${root}:/src ghcr.io/crytic/echidna/echidna \
|
||||||
bash -c \
|
bash -c \
|
||||||
"cd /src && echidna-test . \
|
"cd /src && echidna . \
|
||||||
--config fuzzing/echidna.yaml \
|
--config fuzzing/echidna.yaml \
|
||||||
--corpus-dir fuzzing/corpus \
|
--corpus-dir fuzzing/corpus \
|
||||||
--crytic-args --ignore-compile \
|
--crytic-args --ignore-compile \
|
||||||
|
|
Loading…
Reference in New Issue