-
Notifications
You must be signed in to change notification settings - Fork 0
/
foundry.toml
39 lines (33 loc) · 916 Bytes
/
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
[profile.default]
solc = "0.8.23"
#via_ir = true
bytecode_hash = "ipfs"
optimizer_runs = 1_000_000
libs = ['lib']
remappings = [
"@openzeppelin/=lib/openzeppelin-contracts/contracts/",
"ds-test/=lib/forge-std/lib/ds-test/src/"
]
match_path = "test/unit/*.sol"
verbosity = 3
fs_permissions = [
{ access = "write", path = "./script/optimized-deployer-meta" },
{ access = "write", path = "./script/unoptimized-deployer-meta" },
]
ignored_error_codes = []
[profile.integration]
match_path = "test/integration/*.sol"
[profile.differential]
fs_permissions = [{ access = "read", path = "./reference/balancer-v2-monorepo" }]
match_path = "test/differential/*.sol"
[profile.differential.fuzz]
runs = 10_000
[profile.ci.fuzz]
runs = 10_000
[fmt]
bracket_spacing = true
wrap_comments = false
number_underscore = "thousands"
int_types = "long"
[profile.script]
optimizer_runs = 1_000_000