-
Notifications
You must be signed in to change notification settings - Fork 23
/
foundry.toml
58 lines (47 loc) · 942 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[profile.default]
solc = '0.8.26'
via_ir = false
src = 'src'
test = 'test'
libs = ['lib']
out = 'out'
optimizer = true
optimizer_runs = 200
auto_detect_solc = false
bytecode_hash = "none"
auto_detect_remappings = false
fs_permissions = [
{ access = "read", path = "./out-optimized" }
]
[fuzz]
runs = 500
[invariant]
runs=500
fail_on_revert = true
depth = 10
[profile.optimized-build]
via_ir = true
test = 'src'
optimizer_runs = 10000
out = 'out-optimized'
[profile.optimized-test]
src = 'test'
[profile.optimized-test-deep]
src = 'test'
[profile.optimized-test-deep.fuzz]
runs = 10000
[profile.optimized-test-deep.invariant]
runs = 5000
depth = 32
[profile.deep.fuzz]
runs = 100000
[profile.deep.invariant]
runs = 5000
depth = 32
[fmt]
line_length = 115
wrap_comments = true
sort_imports = true
number_underscore = "thousands"
int_types = "long"
# See more config options https://github.com/foundry-rs/foundry/tree/master/config