-
-
Notifications
You must be signed in to change notification settings - Fork 59
/
foundry.toml
23 lines (22 loc) · 1.91 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
## defaults for all profiles
[profile.default]
src = 'src' # the source directory
test = 'test' # the test directory
out = 'out' # the output directory (for artifacts)
libs = ['lib'] # a list of library directories
remappings = [] # a list of remappings
cache = true # whether to cache builds or not
cache_path = 'cache' # where the cache is stored if enabled
force = false # whether to ignore the cache (clean build)
fuzz = { runs = 256 } # the number of fuzz runs for tests
invariant = { runs = 256 } # the number of runs that must execute for each invariant test group
ffi = true # whether to enable foreign function interface (ffi) cheatcodes or not
verbosity = 3 # the verbosity of tests
fs_permissions = [{ access = "read-write", path = "./"}] # set read-write access to project root
evm_version = 'shanghai' # set the EVM target version
## default overrides for the CI runs
[profile.ci]
force = true # always perform a clean build
fuzz = { runs = 10_000, max_test_rejects = 350_000 } # increase the number of fuzz runs and maximum number of combined inputs that may be rejected for the tests
invariant = { runs = 5_000 } # increase the number of runs that must execute for each invariant test group
verbosity = 4 # increase the verbosity of tests