-
Notifications
You must be signed in to change notification settings - Fork 0
/
foundry.toml
65 lines (54 loc) · 1.11 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[profile.default]
src = "contracts"
out = "out"
test = "test"
libs = ["lib"]
script = "scripts"
cache_path = "cache"
gas_reports = ["*"]
sizes = true
optimizer = true
optimizer_runs = 1000
solc_version = "0.8.22"
ffi = true
via_ir = true
[fuzz]
runs = 10000
[invariant]
runs = 10
depth = 100
fail_on_revert = true
[rpc_endpoints]
arbitrum = "${ETH_NODE_URI_ARBITRUM}"
gnosis = "${ETH_NODE_URI_GNOSIS}"
mainnet = "${ETH_NODE_URI_MAINNET}"
optimism = "${ETH_NODE_URI_OPTIMISM}"
polygon = "${ETH_NODE_URI_POLYGON}"
fork = "${ETH_NODE_URI_FORK}"
avalanche = "${ETH_NODE_URI_AVALANCHE}"
celo = "${ETH_NODE_URI_CELO}"
polygonzkevm = "${ETH_NODE_URI_POLYGONZKEVM}"
bsc = "${ETH_NODE_URI_BSC}"
base = "${ETH_NODE_URI_BASE}"
[etherscan]
[profile.dev]
optimizer = true
via_ir = false
src = "test"
gas_reports = ["*"]
[profile.dev.fuzz]
runs = 2000
[profile.dev.invariant]
runs = 100
depth = 10
fail_on_revert = true
[profile.ci]
src = "test"
via_ir = false
gas_reports = ["*"]
[profile.ci.fuzz]
runs = 100
[profile.ci.invariant]
runs = 10
depth = 30
fail_on_revert = true