-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathfoundry.toml
49 lines (40 loc) · 1.14 KB
/
foundry.toml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
solc_version = '0.8.20'
optimizer = true
optimizer_runs = 200
[fuzz]
runs = 1000
[invariant]
runs = 20
depth = 1000
shrink_run_limit = 100
fail_on_revert = true
[profile.pr.invariant]
runs = 200
depth = 1000
shrink_run_limit = 50_000
[profile.pr.fuzz]
runs = 100_000
[profile.master.invariant]
runs = 250
depth = 2500
shrink_run_limit = 50_000
[profile.master.fuzz]
runs = 1_000_000
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
remappings = [
"ds-test/=lib/erc20-helpers/lib/forge-std/lib/ds-test/src/",
"erc20-helpers/=lib/erc20-helpers/src/",
"forge-std/=lib/forge-std/src/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
]
[etherscan]
mainnet = { key = "${ETHERSCAN_API_KEY}" }
optimism = { key = "${OPTIMISMSCAN_API_KEY}" }
base = { key = "${BASESCAN_API_KEY}" }
gnosis_chain = { key = "${GNOSISSCAN_API_KEY}", url = "https://api.gnosisscan.io/api" }
arbitrum_one = { key = "${ARBISCAN_API_KEY}" }
world_chain = { key = "${WORLD_CHAIN_API_KEY}", chain = 480, url = "https://worldchain-mainnet-explorer.alchemy.com/api" }