-
Notifications
You must be signed in to change notification settings - Fork 27
/
foundry.toml
52 lines (41 loc) · 1.28 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
# Foundry Configuration File
# Default definitions: https://github.com/gakonst/foundry/blob/b7917fa8491aedda4dd6db53fbb206ea233cd531/config/src/lib.rs#L782
# See more config options at: https://github.com/gakonst/foundry/tree/master/config
# The Default Profile
[profile.default]
solc_version = '0.8.17'
auto_detect_solc = false
optimizer = true
optimizer_runs = 1_000
gas_limit = 100_000_000 # ETH is 30M, but we use a higher value.
remappings = [
"forge-std=lib/forge-std/src/",
"openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
"erc721a=lib/erc721a/contracts/",
"erc721a-upgradeable=lib/erc721a-upgradeable/contracts/",
"operator-filter-registry/=lib/operator-filter-registry/src/",
"solady/=lib/solady/src/"
]
[fmt]
line_length = 100 # While we allow up to 120, we lint at 100 for readability.
[profile.default.fuzz]
runs = 256
[profile.intense-0.fuzz]
runs = 5_000
[profile.intense-1.fuzz]
seed = 0x12345678
runs = 5_000
[profile.via-ir]
via_ir = true
[profile.via-ir.fuzz]
runs = 1_000
[profile.min-solc]
solc_version = '0.8.13'
[profile.min-solc.fuzz]
runs = 1_000
[profile.min-solc-via-ir]
via_ir = true
solc_version = '0.8.13'
[profile.min-solc-via-ir.fuzz]
runs = 1_000