mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-03 13:53:10 +00:00
[fuzzing] compile contracts before invoking docker
Ensures that `npm run fuzz` will succeed whether or not the contracts were compiled beforehand.
This commit is contained in:
parent
c1b412c589
commit
42d4778dcc
@ -8,6 +8,7 @@ if command -v echidna-test; then
|
||||
echidna-test ${root} \
|
||||
--config ${root}/fuzzing/echidna.yaml \
|
||||
--corpus-dir ${root}/fuzzing/corpus \
|
||||
--crytic-args --ignore-compile \
|
||||
--contract $1
|
||||
}
|
||||
else
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"test": "npm run lint && hardhat test",
|
||||
"fuzz": "fuzzing/fuzz.sh",
|
||||
"fuzz": "hardhat compile && fuzzing/fuzz.sh",
|
||||
"start": "hardhat node --export deployment-localhost.json",
|
||||
"compile": "hardhat compile",
|
||||
"format": "prettier --write contracts/**/*.sol test/**/*.js",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user