-
Notifications
You must be signed in to change notification settings - Fork 1
/
foundry.toml
53 lines (45 loc) · 1.33 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
# 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]
# Sets the concrete solc version to use
# This overrides the `auto_detect_solc` value
solc_version = '0.8.22'
auto_detect_solc = false
# use EVM version `London` for Crossbell
evm_version = 'london'
# Increase optimizer_runs
optimizer = true
optimizer_runs = 999999
# Fuzz more than the default 256
fuzz_runs = 1_000
libs = ["node_modules", "lib"]
fs_permissions = [
{ access='read-write', path='./deployments/' },
{ access='read', path='./deploy-config/' },
{ access='read', path='./broadcast/' },
{ access='read', path = './out/' },
{ access='read', path = './test/data/' },
]
# Extreme Fuzzing CI Profile :P
[profile.ci]
fuzz_runs = 1_000
[doc]
ignore = ["**/*.t.sol", "script/**"]
out = "docs"
[fmt]
line_length = 100
tab_width = 4
bracket_spacing = false
int_types = "long"
multiline_func_header = "attributes_first"
quote_style = "preserve"
number_underscore = "thousands"
hex_underscore = "remove"
single_line_statement_blocks = "preserve"
override_spacing = false
wrap_comments = true
ignore = []
contract_new_lines = false
sort_imports = true