-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathfoundry.toml
More file actions
44 lines (37 loc) · 959 Bytes
/
foundry.toml
File metadata and controls
44 lines (37 loc) · 959 Bytes
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
[profile.default]
evm_version = "cancun"
optimizer = true
optimizer_runs = 10_000_000
solc_version = "0.8.29"
verbosity = 3
gas_limit = "9223372036854775807"
no_match_test = "test_fuzz_gas_release_malicious"
[rpc_endpoints]
mainnet = "${MAINNET_RPC_URL}"
unichain = "${UNICHAIN_RPC_URL}"
base = "${BASE_RPC_URL}"
optimism = "${OPTIMISM_RPC_URL}"
arbitrum = "${ARBITRUM_RPC_URL}"
[profile.ci]
fuzz = { runs = 5000 }
invariant = { runs = 1000 }
[profile.coverage]
fuzz = { runs = 100 }
invariant = { runs = 0 }
[profile.lite]
fuzz = { runs = 50 }
invariant = { runs = 10 }
# Speed up compilation and tests during development.
optimizer = false
[fmt]
bracket_spacing = false
int_types = "long"
line_length = 100
multiline_func_header = "attributes_first"
number_underscore = "thousands"
quote_style = "double"
single_line_statement_blocks = "single"
tab_width = 2
wrap_comments = true
[lint]
exclude_lints = ["mixed-case-variable", "mixed-case-function"]