-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
59 lines (52 loc) · 1.16 KB
/
foundry.toml
File metadata and controls
59 lines (52 loc) · 1.16 KB
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
49
50
51
52
53
54
55
56
57
58
59
[profile.default]
bytecode_hash = "none"
viaIR = false
optimizer_runs = 21_000
verbosity = 3
fs_permissions = [
{ access = "read-write", path = ".forge-snapshots/" },
{ access = "read", path ="script/config.toml" }
]
ast = true
evm_version = "cancun"
libs = ["lib"]
dynamic_test_linking = true
show_progress = true
ignored_error_codes = [
2394, # Transient storage warning
3860, # Initcode size too large
2519, # Shadowed variable warning
]
remappings = [
"solady/src/=lib/solady/src/",
"v4-core/src/=lib/v4-periphery/lib/v4-core/src/",
"v4-periphery/src/=lib/v4-periphery/src/",
"forge-std/=lib/forge-std/src",
"solmate/=lib/solmate/",
"core/src/=src/",
]
[lint]
exclude_lints = [
"asm-keccak256",
"mixed-case-variable",
"mixed-case-function",
"incorrect-shift",
"screaming-snake-case-immutable",
"erc20-unchecked-transfer",
"unsafe-typecast",
"unsafe-cheatcode",
"named-struct-fields",
"divide-before-multiply"
]
[profile.default.fmt]
line_length = 100
[profile.default.invariant]
fail_on_revert = true
depth = 200
runs = 256
[profile.ci.fuzz]
runs = 10_000
[profile.ci.invariant]
fail_on_revert = true
depth = 200
runs = 10_000