-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
38 lines (30 loc) · 991 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
[profile.default]
solc = "0.8.28"
evm_version = "cancun"
optimizer = true
optimizer_runs = 250
bytecode_hash = "none" # The metadata hash removed from the bytecode (not the metadata itself).
build_info = true
# uncomment this to inspect storage layouts in build artifacts
# extra_output = ["storageLayout"]
src = "src"
out = "out"
libs = ["lib"]
cache_path = "cache"
block_gas_limit = 30_000_000
fuzz = { runs = 256 }
# gas_reports = [
# ]
fs_permissions = [
{ access = "read-write", path = "./out" },
{ access = "read-write", path = "./artifacts" },
# { access = "read", path = "./test/fixtures" },
]
[profile.ci]
verbosity = 3
fuzz = { runs = 10_000, max_test_rejects = 2_000_000 }
[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
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options