-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfoundry.toml
58 lines (50 loc) · 1.16 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
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
[profile.default]
src = 'contracts'
out = 'out'
libs = ['node_modules', 'lib']
test = 'test/foundry/'
cache_path = 'cache_forge'
gas_reports = ["*"]
optimizer = true
optimizer_runs = 200
auto_detect_solc = true
no_match_test = "Fuzz"
memory_limit = 2147483648
fs_permissions = [
{ access = "read", path = "./broadcast" },
{ access = "read-write", path = "./data" },
]
# gas_limit = 2147483648
# ffi = true
# via-ir = true
[profile.lite]
optimizer = false
via-ir = true
[fuzz]
runs = 2000
max_test_rejects = 65536
seed = '0x2'
dictionary_weight = 40
include_storage = true
include_push_bytes = true
extra_output = ["storageLayout", "metadata"]
[invariant]
runs = 256
depth = 32
fail_on_revert = true
[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
[etherscan]
base_sepolia = { key = "${API_KEY_BASESCAN}" }
base = { key = "${API_KEY_BASESCAN}" }
[rpc_endpoints]
base_sepolia = "${BASE_SEPOLIA_RPC_URL}"
base = "${BASE_RPC_URL}"