-
Notifications
You must be signed in to change notification settings - Fork 12
/
foundry.toml
39 lines (34 loc) · 1.09 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
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
remappings = [
'forge-std/=lib/forge-std/src',
'solady/=lib/solady/',
'openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/',
'seaport-types/=lib/seaport-types/',
'solarray/=lib/solarray/src/',
'openzeppelin-contracts/contracts/=lib/openzeppelin-contracts/contracts/',
]
# bytecode_hash = 'none'
ignored_error_codes = ['license', 'code-size', 'init-code-size', 2519]
optimizer_runs = 99_999_999
[profile.lite.fuzz]
runs = 1
[profile.ffi]
ffi = true
test = 'test-ffi'
fs_permissions = [{ access = 'read-write', path = './test-ffi/' }]
# Use a very small number of default fuzz runs to speed up local testing. It is
# recommended to increase this number or use the `--fuzz-runs=256` flag to run
# a proper fuzzing campaign before yeeting your project to mainnet.
[profile.ffi.fuzz]
runs = 5
[profile.ci-ffi]
ffi = true
test = 'test-ffi'
fs_permissions = [{ access = 'read-write', path = './test-ffi/' }]
# Use a relatively small number of fuzz runs in CI because the ffi lifecycle is
# slow.
[profile.ci-ffi.fuzz]
runs = 10