-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.dapprc
25 lines (21 loc) · 919 Bytes
/
.dapprc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# # Make dependencies available
export DAPP_REMAPPINGS=$(cat remappings.txt)
export DAPP_SRC=src
# export DAPP_TEST_COV_MATCH=""
export DAPP_SOLC_VERSION=0.8.6
# If you're getting an "invalid character at offset" error, comment this out.
# export DAPP_LINK_TEST_LIBRARIES=0
export DAPP_TEST_VERBOSITY=2
export DAPP_TEST_SMTTIMEOUT=500000
# Optimize your contracts before deploying to reduce runtime execution costs.
# Check out the docs to learn more: https://docs.soliditylang.org/en/v0.8.9/using-the-compiler.html#optimizer-options
export DAPP_BUILD_OPTIMIZE=2
export DAPP_BUILD_OPTIMIZE_RUNS=1000000
# set so that we can deploy to local node w/o hosted private keys
export ETH_RPC_ACCOUNTS=true
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=500 # Only fuzz briefly if DEEP_FUZZ is not set to true.
fi