-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
36 lines (31 loc) · 779 Bytes
/
Copy pathfoundry.toml
File metadata and controls
36 lines (31 loc) · 779 Bytes
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"]
via_ir = true
optimizer = true
optimizer_runs = 200
ignored_error_codes = [5740]
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
[profile.production]
# optimizer = true
# optimizer_runs = 1000000
via_ir = true
# via_ir = true
optimizer = true
optimizer_runs = 200
# via_ir = true
# optimizer = true
# optimizer_runs = 200
# "settings": {
# "optimizer": { "enabled": true, "runs": 200 },
# "viaIR": true
# }
[rpc_endpoints]
arbitrum = "${ARBITRUM_RPC_URL}"
base = "${BASE_RPC_URL}"
mainnet = "${MAINNET_RPC_URL}"
[etherscan]
arbitrum = { key = "${ARBISCAN_API_KEY}" }
base = { key = "${BASESCAN_API_KEY}" }
mainnet = { key = "${ETHERSCAN_API_KEY}" }