-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathfoundry.toml
54 lines (45 loc) · 1.44 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
49
50
51
52
53
54
[profile.default]
solc = "0.8.24"
evm_version = "cancun"
optimizer = true
optimizer_runs = 250
bytecode_hash = "none" # The metadata hash removed from the bytecode (not the metadata itself).
# uncomment this to inspect storage layouts in build artifacts
# extra_output = ["storageLayout"]
src = "src"
out = "out"
libs = ["lib", "node_modules"]
cache_path = "cache"
block_gas_limit = 30_000_000
fuzz = { runs = 256 }
gas_reports = [
"VettedGate",
"PermissionlessGate",
"CSAccounting",
"CSFeeDistributor",
"CSFeeOracle",
"CSModule",
"CSVerifier",
"CSPerksRegistry",
"AssetRecovererLib",
"OssifiableProxy",
"HashConsensus"
]
fs_permissions = [
{ access = "read-write", path = "./out" },
{ access = "read-write", path = "./artifacts" },
{ access = "read", path = "./test/fixtures" },
]
ignored_warnings_from = ["src/lib/base-oracle/HashConsensus.sol", "test/OssifiableProxy.t.sol"]
[profile.ci]
verbosity = 3
fuzz = { runs = 10_000, max_test_rejects = 2_000_000 }
# See more config options https://github.com/foundry-rs/foundry/tree/master/crates/config
[profile.coverage]
# due to coverage running with optimizer disabled, we need to increase the gas limit
# to fit CSM contract tests in one block
block_gas_limit = 60_000_000
[profile.deploy-impl]
# unknown problem of too high estimated gas usage in the implementation deployment script
# after upgrading forge-std 1.7.6 -> 1.9.5
block_gas_limit = 60_000_000