-
Notifications
You must be signed in to change notification settings - Fork 0
/
foundry.toml
46 lines (42 loc) · 988 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
40
41
42
43
44
45
46
[profile.default]
src = "src"
out = "artifacts"
libs = ["lib"]
test = "test"
script = "script"
solc = "0.8.19"
auto_detect_remappings = true
gas_reports = ['*']
auto_detect_solc = true
offline = false
optimizer = true
optimizer_runs = 200
etherscan_api_key = "YOURETHERSCANAPIKEY"
ignored_error_codes = ["license", "code-size"]
[fuzz]
runs = 256
max_test_rejects = 65536
seed = '0x3e8'
dictionary_weight = 40
include_storage = true
include_push_bytes = true
[invariant]
runs = 256
depth = 15
fail_on_revert = false
call_override = false
dictionary_weight = 80
include_storage = true
include_push_bytes = true
shrink_sequence = true
[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
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options