generated from PaulRBerg/foundry-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
foundry.toml
60 lines (54 loc) · 1.71 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
# Full reference https://github.com/foundry-rs/foundry/tree/master/config
[profile.default]
auto_detect_solc = false
block_timestamp = 1_680_220_800 # March 31, 2023 at 00:00 GMT
bytecode_hash = "none"
cbor_metadata = false
evm_version = 'london'
ffi = true
fs_permissions = [{ access = "read-write", path = ".forge-snapshots/"}]
fuzz = { runs = 1_000 }
gas_reports = ["*"]
libs = ["lib"]
optimizer = true
optimizer_runs = 10_000
out = "out"
script = "script"
solc = "0.8.24"
src = "src"
test = "test"
verbosity = 2
[profile.ci]
fuzz = { runs = 10_000 }
verbosity = 4
[etherscan]
arbitrum_one = { key = "${API_KEY_ARBISCAN}", chain = 42161 }
# avalanche = { key = "${API_KEY_SNOWTRACE}", chain = 43114 }
# bnb_smart_chain = { key = "${ API_KEY_BSCSCAN}", chain = 56 }
gnosis_chain = { key = "${API_KEY_GNOSISSCAN}", chain = 100 }
# goerli = { key = "${API_KEY_ETHERSCAN}", chain = 5 }
mainnet = { key = "${API_KEY_ETHERSCAN}", chain = 1 }
optimism = { key = "${API_KEY_OPTIMISTIC_ETHERSCAN}", chain = 10 }
polygon = { key = "${API_KEY_POLYGONSCAN}", chain = 137 }
# sepolia = { key = "${API_KEY_ETHERSCAN}", chain = 58008 }
[fmt]
bracket_spacing = true
int_types = "long"
line_length = 120
multiline_func_header = "all"
number_underscore = "thousands"
quote_style = "double"
tab_width = 4
wrap_comments = true
[rpc_endpoints]
arbitrum_one = "${ARBITRUM_RPC}"
# avalanche = "${AVALANCHE_RPC}"
base = "${BASE_RPC}"
# bnb_smart_chain = "${BNB_RPC}"
gnosis = "${GNOSIS_RPC}"
# goerli = "${GOERLI_RPC}"
localhost = "http://127.0.0.1:8545"
mainnet = "${MAINNET_RPC}"
optimism = "${OPTIMISM_RPC}"
polygon = "${POLYGON_RPC}"
# sepolia = "${SEPOLIA_RPC}"