mirror of
https://github.com/luxfi/sudoamm.git
synced 2026-07-25 16:17:09 +00:00
23 lines
673 B
Bash
23 lines
673 B
Bash
# Make dependencies available
|
|
export DAPP_REMAPPINGS=$(cat remappings.txt)
|
|
|
|
export DAPP_SOLC_VERSION=0.8.10
|
|
export DAPP_BUILD_OPTIMIZE=1
|
|
export DAPP_BUILD_OPTIMIZE_RUNS=1000000
|
|
export DAPP_LINK_TEST_LIBRARIES=0
|
|
export DAPP_TEST_VERBOSITY=1
|
|
export DAPP_TEST_SMTTIMEOUT=500000
|
|
|
|
# set so that we can deploy to local node w/o hosted private keys
|
|
export ETH_RPC_ACCOUNTS=true
|
|
|
|
# only run test files that end in .t.sol
|
|
export DAPP_TEST_MATCH=src/test/.*\.t\.sol
|
|
|
|
if [ "$DEEP_FUZZ" = "true" ]
|
|
then
|
|
export DAPP_TEST_FUZZ_RUNS=50000 # Fuzz for a long time if DEEP_FUZZ is set to true.
|
|
else
|
|
export DAPP_TEST_FUZZ_RUNS=100 # Only fuzz briefly if DEEP_FUZZ is not set to true.
|
|
fi
|