-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
44 lines (38 loc) · 1011 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
33
34
35
36
37
38
39
40
41
42
43
44
[profile.default]
remappings = [
"@forge-std/=node_modules/forge-std/src/",
"@openzeppelin/=node_modules/@openzeppelin/",
]
names = true
sizes = true
auto_detect_solc = false
src = "contracts"
out = "out"
libs = ["node_modules"]
solc = "0.8.23"
test = "test"
optimizer = true
optimizer_runs = 1000
fs_permissions = [{ access = "read", path = "./config/" }]
[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
[profile.test]
via-ir = false
[invariant]
runs = 2
depth = 20010
fail_on_revert = false
[rpc_endpoints]
base = "https://base-mainnet.g.alchemy.com/v2/${API_KEY_ALCHEMY}"
base_sepolia = "https://base-sepolia.g.alchemy.com/v2/${API_KEY_ALCHEMY}"
[etherscan]
base = { key = "${API_KEY_BASESCAN}" }
base_sepolia = { key = "${API_KEY_BASESCAN}" }
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options