-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
41 lines (35 loc) · 948 Bytes
/
Copy pathfoundry.toml
File metadata and controls
41 lines (35 loc) · 948 Bytes
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
[profile.default]
src = "src"
test = "test"
script = "script"
out = "out"
libs = ["lib"]
solc = "0.8.26"
evm_version = "cancun" # v4 relies on transient storage (tload/tstore)
optimizer = true
optimizer_runs = 800
via_ir = false
bytecode_hash = "none"
ffi = true # needed for HookMiner / deterministic hook address mining
fs_permissions = [{ access = "read-write", path = "./" }]
[profile.default.fuzz]
runs = 1000
[profile.default.invariant]
runs = 256
depth = 50
fail_on_revert = false
# CI profile: heavier fuzzing/invariant runs per the spec coverage targets
[profile.ci.fuzz]
runs = 50000
seed = "0x1234" # pinned for reproducible fuzz runs in CI (gas snapshot excludes fuzz)
[profile.ci.invariant]
runs = 1000
depth = 100
[fmt]
line_length = 120
tab_width = 4
bracket_spacing = false
int_types = "long"
[rpc_endpoints]
base = "${BASE_RPC_URL}"
base_sepolia = "${BASE_SEPOLIA_RPC_URL}"