forked from BeanstalkFarms/Basin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
39 lines (34 loc) · 895 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
[profile.default]
src = 'src'
out = 'out'
libs = ['lib', 'node_modules']
fuzz = { runs = 256 }
optimizer = true
optimizer_runs = 800
remappings = [
'@openzeppelin/=node_modules/@openzeppelin/',
]
block_number = 16826654
block_timestamp = 1678803642
[rpc_endpoints]
mainnet = "${MAINNET_RPC_URL}"
[profile.ci]
no_match_test = "testSim"
fuzz = { runs = 5_000, max_test_rejects = 1000000 }
[profile.sim]
match_test = "testSim"
fuzz = { runs = 5_000, max_test_rejects = 1000000 }
[fmt]
ignore = ["src/libraries/LibClone.sol", "src/utils/Clone.sol", "src/libraries/ABDKMathQuad.sol"]
int_types = "short"
line_length = 120
multiline_func_header = "params_first"
number_underscore = "thousands"
override_spacing = false
quote_style = "double"
tab_width = 4
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
[invariant]
runs = 4
depth = 2048
fail_on_revert = true