-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfoundry.toml
89 lines (77 loc) · 1.94 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
test = 'test'
optimizer = true
optimizer_runs = 800
solc = "0.8.27"
gas_reports = ["*"]
fs_permissions = [{ access = "read", path = "./"}]
[profile.default.fmt]
line_length = 120
tab_width = 4
bracket_spacing = false
int_types = "long"
quote_style = "double"
number_underscore = "preserve"
override_spacing = true
ignore = [
"src/lib/StorageLib.sol"
]
[profile.test]
no_match_test = "(Fuzz|invariant_)"
no_match_contract = "(Fuzz|CryticERC4626TestsHarness|Symbolic|Invariants)"
gas_reports = ["*"]
[profile.fuzz]
runs = 1000
max_local_rejects = 1024
max_global_rejects = 65536
seed = '0x3e8'
dictionary_weight = 100
include_storage = true
include_push_bytes = true
match_test = "Fuzz"
match_contract = "Fuzz"
[profile.ci_fuzz]
runs = 50000
max_local_rejects = 1024
max_global_rejects = 65536
seed = '0x3e8'
dictionary_weight = 100
include_storage = true
include_push_bytes = true
match_test = "Fuzz"
match_contract = "Fuzz"
[profile.invariant]
runs = 256
depth = 500
fail_on_revert = true
call_override = false
dictionary_weight = 80
include_storage = true
include_push_bytes = true
match_test = "invariant_"
[profile.coverage]
via_ir = true
no_match_test = "(invariant_)"
no_match_contract = "(Script|CryticERC4626TestsHarness|Symbolic|Invariants)"
no_match_coverage= "(script|test|fuzz|e2e)"
[profile.coverage.optimizer_details]
constantOptimizer = true
yul = true
[profile.coverage.optimizer_details.yulDetails]
stackAllocation = true
optimizerSteps = ''
[doc]
out = "foundry-docs/"
title = "Euler Earn Contracts Documentation"
[rpc_endpoints]
mainnet = "${MAINNET_RPC_URL}"
arbitrum = "${ARBITRUM_RPC_URL}"
base = "${BASE_RPC_URL}"
[etherscan]
mainnet = { key = "${ETHERSCAN_MAINNET_API_KEY}" }
arbitrum = { key = "${ETHERSCAN_ARBITRUM_API_KEY}" }
base = { key = "${ETHERSCAN_BASE_API_KEY}" }
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options