-
Notifications
You must be signed in to change notification settings - Fork 1
/
foundry.toml
42 lines (35 loc) · 1.14 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
[profile.default]
src = 'contracts'
out = 'out'
libs = ['lib']
via_ir = true
solc_version = '0.8.17'
optimizer_runs = 1_000_000
fs_permissions = [{ access = "read", path = "./script/deployParameters/"}]
# @see {@link https://github.com/foundry-rs/foundry/issues/4060}
auto_detect_remappings = true
bytecode_hash = "none"
cbor_metadata = false
sparse_mode = false
[profile.default.optimizer_details]
constantOptimizer = true
yul = true
[fmt]
line_length = 120
quote_style = 'single'
[profile.lite.optimizer_details.yulDetails]
optimizerSteps = ''
[fuzz]
runs = 5000
[rpc_endpoints]
lisk = "${LISK_RPC_URL}"
mode = "${MODE_RPC_URL}"
optimism = "${OPTIMISM_RPC_URL}"
fraxtal = "${FRAXTAL_RPC_URL}"
metal = "${METAL_RPC_URL}"
[etherscan]
mode = { key = "${MODE_ETHERSCAN_API_KEY}", url = "${MODE_ETHERSCAN_VERIFIER_URL}" }
optimism = { key = "${OPTIMISM_ETHERSCAN_API_KEY}", url = "${OPTIMISM_ETHERSCAN_VERIFIER_URL}" }
fraxtal = { key = "${FRAXTAL_ETHERSCAN_API_KEY}", url = "${FRAXTAL_ETHERSCAN_VERIFIER_URL}" }
metal = { key = "NA", url = "${METAL_ETHERSCAN_VERIFIER_URL}" }
# See more config options https://github.com/foundry-rs/foundry/tree/master/config