-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
32 lines (28 loc) · 928 Bytes
/
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
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
solc = "0.8.26"
evm_version = "cancun"
via_ir = true
ffi = true
ast = true
build_info = true
extra_output = ["storageLayout"]
fs_permissions = [{ access = "read-write", path = ".forge-snapshots/"}, { access = "read", path = "out/" }]
[fmt] # See https://book.getfoundry.sh/reference/config/formatter
single_line_statement_block = "preserve"
multiline_func_header = "params_first"
number_underscore = "thousands"
quote_style = "single"
[rpc_endpoints]
mainnet = "${MAINNET_RPC_URL}"
holesky = "${HOLESKY_RPC_URL}"
chiado = "${CHIADO_RPC_URL}"
gnosis = "${GNOSIS_RPC_URL}"
[etherscan]
mainnet = { key = "${ETHERSCAN_API_KEY}" }
holesky = { key = "${ETHERSCAN_API_KEY}" }
chiado = { key = "${GNOSISSCAN_API_KEY}" }
gnosis = { key = "${GNOSISSCAN_API_KEY}" }
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options