forked from 0xProject/0x-settler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
36 lines (30 loc) · 889 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
[profile.default]
unchecked_cheatcode_artifacts = true
# https://github.com/foundry-rs/foundry/issues/6780#issuecomment-1962319449
bytecode_hash = "none"
auto_detect_remappings = false
cbor_metadata = false
sparse_mode = false
optimizer = true
via_ir = true
optimizer_runs = 2_000
evm_version = "cancun"
no_match_path = "test/integration/*"
# needed for marktoda/forge-gas-snapshot
ffi = true
fs_permissions = [{ access = "read-write", path = ".forge-snapshots/" }, { access = "read", path = "out" }]
# https://github.com/foundry-rs/foundry/issues/6780#issuecomment-1962319449
[profile.default.optimizer_details]
constantOptimizer = true
yul = true
[profile.integration]
no_match_path = 'toml has no null value 😡'
match_path = "test/integration/*"
fail_on_revert = false
[fuzz]
runs = 100_000
max_test_rejects = 1_000_000
[invariant]
fail_on_revert = true
runs = 1_000
depth = 20