-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
55 lines (46 loc) · 1.04 KB
/
foundry.toml
File metadata and controls
55 lines (46 loc) · 1.04 KB
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
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
# Remappings
remappings = [
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"@morpho-blue/=lib/morpho-blue/src/",
]
# Compiler settings
solc = "0.8.33"
auto_detect_solc = true
optimizer = true
optimizer_runs = 200
via_ir = true
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
# File system permissions for scripts
fs_permissions = [{ access = "read", path = "script/bytecode/" }]
[fuzz]
seed = "0xdeadbeef"
runs = 256
[profile.halmos]
optimizer = false
via_ir = true
[profile.ci]
src = "src"
out = "out"
libs = ["lib"]
solc = "0.8.33"
optimizer = true
optimizer_runs = 200
via_ir = true
[fmt]
line_length = 120
tab_width = 4
bracket_spacing = false
int_types = "long"
multiline_func_header = "params_first"
quote_style = "double"
number_underscore = "thousands"
single_line_statement_blocks = "multi"
sort_imports = true
contract_new_lines = true
[invariant]
runs = 16 # instead of 256
depth = 500