-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
42 lines (36 loc) · 970 Bytes
/
foundry.toml
File metadata and controls
42 lines (36 loc) · 970 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
37
38
39
40
41
42
[profile.default]
fs_permissions = [{ access = "read-write", path = "./"}]
solc = '0.8.30'
src = 'src'
test = 'test'
out = 'out'
libs = ['lib']
via_ir = true
optimizer_runs = 200
verbosity = 3
auto_detect_remappings = true
[profile.e2e]
match_path = "test/e2e/*"
[profile.unit]
block_number = 17373196
block_timestamp = 1685467379
match_path = "test/unit/*"
[rpc_endpoints]
localhost = "http://127.0.0.1:8545"
mainnet = "${RPC_MAINNET}"
sepolia = "${RPC_SEPOLIA}"
sonicTestnet = "${RPC_SONIC_TESTNET}"
[etherscan]
ethereum = { key = "${ETHERSCAN_KEY}", chain = 1 }
sepolia = { key = "${ETHERSCAN_KEY}", chain = 11155111 }
sonicTestnet = { key = "${ETHERSCAN_KEY}", chain = 146 }
[fmt]
line_length = 90
tab_width = 2
bracket_spacing = true
int_types = "long"
func_attrs_with_params_multiline = true
quote_style = "double"
number_underscore = "thousands"
wrap_comments = true
# See more config options https://github.com/foundry-rs/foundry/tree/master/crates/config