-
Notifications
You must be signed in to change notification settings - Fork 2
/
foundry.toml
48 lines (41 loc) · 1.02 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
40
41
42
43
44
45
46
47
48
[profile.default]
src = "src"
test = "test"
script = "script"
out = "out"
libs = ["lib"]
cache = true
cache_path = "cache"
broadcast = "broadcast"
gas_reports = ["*"]
gas_reports_ignore = []
solc_version = "0.8.23"
optimizer = false
verbosity = 3
ignored_error_codes = []
block_number = 17_740_856
block_timestamp = 1_689_934_508
[profile.production]
evm_version = "shanghai"
optimizer = true
optimizer_runs = 999999
build_info = true
sizes = true
[fuzz]
runs = 5_000
[invariant]
runs = 512 # The number of times to run the invariant tests
depth = 25 # The number of calls to make in the invariant tests
call_override = false # Override calls
fail_on_revert = true # Fail the test if the contract reverts
preserve_state = true # Preserve state between invariant files. Active only in conjunction with fail_on_revert true.
[profile.ci]
optimizer = true
[profile.ci.fuzz]
runs = 10_000
[profile.ci.invariant]
runs = 512
depth = 250
[rpc_endpoints]
localhost = "http://127.0.0.1:8545"
sepolia = "https://rpc.sepolia.org"