-
Notifications
You must be signed in to change notification settings - Fork 32
/
foundry.toml
41 lines (34 loc) · 1.12 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
[profile.default]
optimizer = true
optimizer_runs = 200
auto_detect_solc = true
src = "contracts"
out = "artifacts"
libs = ["../../node_modules", "node_modules", "lib"]
fs_permissions = [{ access = "read", path = "./artifacts"}, { access = "read-write", path = "./deployments"}, {access = "read-write", path = "./script"}]
# https://book.getfoundry.sh/reference/config/testing#gas_limit
gas_limit = "18446744073709551615"
[profile.ci]
verbosity = 4
[fuzz]
runs = 400
[fmt]
line_length = 120
multiline_func_header = 'attributes_first'
number_underscore = 'thousands'
[rpc_endpoints]
avalanche = "${RPC_AVALANCHE}"
optimism = "${RPC_OPTIMISM}"
polygon = "${RPC_POLYGON}"
arb_goerli = "${RPC_ARB_GOERLI}"
op_goerli = "${RPC_OP_GOERLI}"
sepolia = "${RPC_SEPOLIA}"
# devnet chains
chain_a = "http://localhost:9001/rpc/42"
chain_b = "http://localhost:9001/rpc/43"
chain_c = "http://localhost:9001/rpc/44"
[etherscan]
avalanche = { key = "${ETHERSCAN_AVALANCHE_KEY}" }
optimism = { key = "${ETHERSCAN_OPTIMISM_KEY}" }
polygon = { key = "${ETHERSCAN_POLYGON_KEY}" }
# See more config options https://github.com/gakonst/foundry/tree/master/config