-
Notifications
You must be signed in to change notification settings - Fork 4
/
foundry.toml
36 lines (28 loc) · 1.59 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
[profile.default]
src = 'src' # The source directory
out = 'out' # The output directory
libs = ['lib'] # A list of library directories
optimizer = true # Enable or disable the solc optimizer
optimizer_runs = 200 # The number of optimizer runs
fs_permissions = [{ access = "read", path = "./"}] # Gives permission to read files for deployment keys.
[fuzz]
runs = 100 # The number of times to run the fuzzing tests
[invariant]
runs = 8 # The number of calls to make in the invariant tests
depth = 8 # The number of times to run the invariant tests
fail_on_revert = true # Fail the test if the contract reverts
[profile.shallow.fuzz]
runs = 20 # The number of times to run the fuzzing tests
[profile.deep.fuzz]
runs = 150 # The number of times to run the fuzzing tests
[profile.deep.invariant]
runs = 12 # The number of times to run the invariant tests
depth = 12 # The number of calls to make in the invariant tests
[profile.super_deep.fuzz]
runs = 500 # The number of times to run the fuzzing tests
[profile.super_deep.invariant]
runs = 16 # The number of calls to make in the invariant tests
depth = 16 # The number of times to run the invariant tests
[rpc_endpoints]
arbitrum = "${ARBITRUM_RPC_URL}"
sepolia = "${SEPOLIA_RPC_URL}"