-
Notifications
You must be signed in to change notification settings - Fork 2
/
foundry.toml
39 lines (34 loc) · 939 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.19'
via_ir = true
src = 'src'
out = 'out'
libs = ['lib']
optimizer = true
optimizer_runs = 4_294_967_295
extra_output = ["evm.assembly", "irOptimized", "devdoc"]
gas_reports = ["ERC721Mock", "ERC4494Mock", "ERC721EnumerableMock", "ERC5192Mock"]
remappings = [
'forge-std/=lib/forge-std/src/',
'ERC721/=src/',
]
[profile.default.optimizer_details]
peephole = true
inliner = true
jumpdestRemover = true
orderLiterals = true
deduplicate = true
cse = true
constantOptimizer = true
yul = true
[profile.default.optimizer_details.yulDetails]
stackAllocation = true
optimizerSteps = "dhfoDgvulfnTUtnIf[xa[r]EscLMcCTUtTOntnfDIulLculVcul [j]Tpeulxa[rul]xa[r]cLgvifCTUca[r]LSsTOtfDnca[r]Iulc]jmul[jul] VcTOcul jmul"
[fuzz]
runs = 5000
max_test_rejects = 2_000_000
[fmt]
line_length = 120
tab_width = 4
bracket_spacing = true
# See more config options https://github.com/foundry-rs/foundry/tree/master/config