-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
73 lines (67 loc) · 2.6 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Full reference https://github.com/foundry-rs/foundry/tree/master/crates/config
[profile.default]
auto_detect_solc = false
block_timestamp = 1_680_220_800 # March 31, 2023 at 00:00 GMT
bytecode_hash = "none"
evm_version = "paris" # See https://www.evmdiff.com/features?name=PUSH0&kind=opcode
fuzz = { runs = 1_000 }
gas_reports = ["*"]
optimizer = true
optimizer_runs = 1_000
out = "out"
script = "script"
solc = "0.8.25"
src = "src"
test = "test"
build_info = true
extra_output = ["storageLayout"]
fs_permissions = [
{ access = "read", path = "./broadcast" },
{ access = "read", path = "./reports" },
]
[profile.ci]
fuzz = { runs = 10_000 }
verbosity = 4
[etherscan]
arbitrum = { key = "${API_KEY_ARBISCAN}" }
arbitrum_sepolia = { key = "${API_KEY_ARBISCAN}" }
avalanche = { key = "${API_KEY_SNOWTRACE}" }
goerli = { key = "${API_KEY_ETHERSCAN}" }
mainnet = { key = "${API_KEY_ETHERSCAN}" }
optimism = { key = "${API_KEY_OPTIMISTIC_ETHERSCAN}" }
optimism_sepolia = { key = "${API_KEY_OPTIMISTIC_ETHERSCAN}" }
polygon_amoy = { key = "${API_KEY_POLYGONSCAN}" }
mumbai = { key = "${API_KEY_POLYGONSCAN}" }
sepolia = { key = "${API_KEY_ETHERSCAN}" }
base = { key = "${API_KEY_BASE}" }
base_sepolia = { key = "${API_KEY_BASE}" }
[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 = "https://arbitrum-mainnet.infura.io/v3/${API_KEY_INFURA}"
arbitrum_sepolia = "${ARB_SEPOLIA_RPC}"
avalanche = "https://avalanche-mainnet.infura.io/v3/${API_KEY_INFURA}"
goerli = "https://eth-goerli.g.alchemy.com/v2/${API_KEY_GOERLI}"
localhost = "http://localhost:8545"
mainnet = "https://eth-mainnet.g.alchemy.com/v2/${API_KEY_ALCHEMY}"
optimism = "https://opt-mainnet.g.alchemy.com/v2/"
optimism_sepolia = "https://opt-sepolia.g.alchemy.com/v2/${API_KEY_OPTIMISTIC_SEPOLIA}"
polygon = "https://rpc.ankr.com/multichain/${API_KEY_ANKR}"
polygon_amoy = "https://rpc.ankr.com/multichain/${API_KEY_ANKR}"
sepolia = "https://rpc.ankr.com/eth_sepolia"
phi = "https://rpc-test-ph-uop5quepc8.t.conduit.xyz"
orbit_test = "https://orbit-demo.alt.technology"
base = "${BASE_MAINNET_RPC}"
base_sepolia = "https://base-sepolia.g.alchemy.com/v2/${API_KEY_BASE_SEPOLIA}"
syndicate = "https://rpc-frame.syndicate.io"
bera_testnet = "https://bartio.rpc.berachain.com/"
zora_sepolia = "${ZORA_SEPOLIA_RPC}"
cyber_testnet = "https://cyber-testnet.alt.technology/"
cyber = "https://rpc.cyber.co"