-
Notifications
You must be signed in to change notification settings - Fork 35
/
foundry.toml
38 lines (32 loc) · 1.08 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
[profile.default]
src = 'src'
out = 'foundry-out'
solc_version = '0.8.26'
optimizer_runs = 25_666
via_ir = true
ffi = true
fs_permissions = [
{ access = "read-write", path = ".forge-snapshots/" },
{ access = "read", path = "./foundry-out" },
{ access = "read", path = "./script/config" },
{ access = "read", path = "./test/pool-cl/bin" },
{ access = "read", path = "./test/pool-bin/bin" },
]
evm_version = 'cancun'
gas_limit = "300000000"
[fuzz]
# used for both fuzz and invariant tests for local development
# not sure why but [profile.default.fuzz] just doesn't work for invariant tests
runs = 1000
[profile.ci.fuzz]
runs = 10000
[profile.ci.invariant]
runs = 1000 # The number of calls to make in the invariant tests
call_override = false # Override calls
fail_on_revert = false # Fail the test if the contract reverts
[profile.ci_main.fuzz]
runs = 100000
[profile.ci_main.invariant]
runs = 10000 # The number of calls to make in the invariant tests
call_override = false # Override calls
fail_on_revert = false # Fail the test if the contract reverts