generated from AngleProtocol/boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfoundry.toml
70 lines (59 loc) · 1.38 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
66
67
68
69
70
[profile.default]
src = "contracts"
out = "out"
test = "test"
libs = ["lib"]
script = "scripts"
cache_path = "cache"
gas_reports = ["*"]
via_ir = true
sizes = true
optimizer = true
optimizer_runs = 1000
solc_version = "0.8.23"
ffi = true
fs_permissions = [{ access = "read-write", path = "./scripts/proposals/payload.json"}, { access = "read-write", path = "./scripts/roles.json"}]
[fuzz]
runs = 10000
[invariant]
runs = 1000
depth = 30
[rpc_endpoints]
arbitrum = "${ETH_NODE_URI_ARBITRUM}"
gnosis = "https://gnosis.publicnode.com"
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_POLYGON_ZKEVM}"
bsc = "${ETH_NODE_URI_BSC}"
base = "${ETH_NODE_URI_BASE}"
linea = "${ETH_NODE_URI_LINEA}"
mode = "${ETH_NODE_URI_MODE}"
blast = "${ETH_NODE_URI_BLAST}"
xlayer = "${ETH_NODE_URI_XLAYER}"
[etherscan]
blast = { key = "${BLAST_ETHERSCAN_API_KEY}", url = "https://api.blastscan.io/api" }
[profile.dev]
optimizer = true
via_ir = false
src = "test"
gas_reports = ["*"]
[profile.dev.fuzz]
runs = 2000
[profile.dev.invariant]
runs = 30
depth = 50
fail_on_revert = false
[profile.ci]
src = "test"
via_ir = false
gas_reports = ["*"]
[profile.ci.fuzz]
runs = 100
[profile.ci.invariant]
runs = 10
depth = 30
fail_on_revert = false