-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
36 lines (32 loc) · 1.06 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
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
fs_permissions = [{ access = "read-write", path = "./.local" }, { access = "read", path = "./out" }]
optimizer = true
optimizer_runs = 750
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
[rpc_endpoints]
mainnet = "${RPC_MAINNET}"
goerli = "${RPC_GOERLI}"
optimism_goerli = "${RPC_OPTIMISM_GOERLI}"
optimism = "${RPC_OPTIMISM}"
mumbai = "${RPC_MUMBAI}"
polygon = "${RPC_POLYGON}"
arbitrum = "${RPC_ARBITRUM}"
gnosis = "${RPC_GNOSIS}"
[etherscan]
mainnet = { key = "${ETHERSCAN_KEY}" }
goerli = { key = "${ETHERSCAN_KEY}" }
optimism_goerli = { key = "${OPTIMISM_ETHERSCAN_KEY}" }
optimism = { key = "${OPTIMISM_ETHERSCAN_KEY}" }
mumbai = { key = "${POLYGON_ETHERSCAN_KEY}" }
polygon = { key = "${POLYGON_ETHERSCAN_KEY}" }
arbitrum = { key = "${ARBITRUM_ETHERSCAN_KEY}" }
gnosis = { key = "${GNOSIS_ETHERSCAN_KEY}" }
[fmt]
line_length = 100
tab_width = 2
bracket_spacing = false
multiline_func_header = "all"
# See more config options https://github.com/foundry-rs/foundry/tree/master/config