-
Notifications
You must be signed in to change notification settings - Fork 15
/
foundry.toml
48 lines (42 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[default]
via_ir = true
src = 'contracts'
out = 'out'
libs = ['node_modules']
test = 'test/foundry'
remappings = [
'ds-test=lib/ds-test/src/',
'forge-std=lib/forge-std/src/',
'@rari-capital/solmate/=lib/solmate/',
'contracts/=contracts/',
'murky/=lib/murky/src/',
]
fuzz_runs = 5000
fuzz_max_global_rejects = 2_000_000
fuzz_max_local_rejects = 10_000
optimizer_runs = 15000
[reference]
solc = '0.8.7'
via_ir = false
src = 'reference'
out = 'reference-out'
# specify something so it doesn't try to compile the 0.8.13 files in test/foundry
test = 'reference'
[optimized]
solc = '0.8.13'
out = 'optimized-out'
[test]
solc = '0.8.13'
via_ir = false
src = 'test/foundry'
[lite]
out = 'optimized-out'
via_ir = false
fuzz_runs = 1000
[local-ffi]
via_ir = false
fuzz_runs = 1000
src = 'reference'
out = 'reference-out'
ffi = true
# See more config options https://github.com/gakonst/foundry/tree/master/config