generated from defi-wonderland/solidity-foundry-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
41 lines (33 loc) · 703 Bytes
/
foundry.toml
File metadata and controls
41 lines (33 loc) · 703 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
[fmt]
line_length = 120
tab_width = 2
bracket_spacing = false
int_types = 'long'
quote_style = 'single'
number_underscore = 'thousands'
multiline_func_header = 'params_first_multi'
sort_imports = true
[profile.default]
solc = "0.8.23"
libs = ['node_modules', 'lib']
optimizer_runs = 10_000
via_ir = true
[profile.optimized]
via_ir = true
out = 'out-via-ir'
[profile.test]
via_ir = true
out = 'out-via-ir'
[profile.docs]
src = 'src/interfaces/'
[profile.ci]
fuzz = { runs = 5000 }
invariant = { runs = 1000 }
[fuzz]
runs = 1000
[rpc_endpoints]
mainnet = "${MAINNET_RPC}"
sepolia = "${SEPOLIA_RPC}"
[etherscan]
mainnet = { key = "${ETHERSCAN_API_KEY}" }
sepolia = { key = "${ETHERSCAN_API_KEY}" }