generated from BreadchainCoop/solidity-foundry-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathfoundry.toml
More file actions
65 lines (57 loc) · 1.54 KB
/
foundry.toml
File metadata and controls
65 lines (57 loc) · 1.54 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
56
57
58
59
60
61
62
63
64
65
[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]
via_ir = true
solc_version = '0.8.28'
libs = ['node_modules', 'lib']
remappings = [
'forge-std/=node_modules/forge-std/src/',
'halmos-cheatcodes/=node_modules/halmos-cheatcodes/',
'@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/',
'@openzeppelin/contracts-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/',
'@openzeppelin/=node_modules/@openzeppelin/',
'@openzeppelin-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/',
'contracts/=src/contracts/',
'interfaces/=src/interfaces/',
'test/=test/'
]
optimizer_runs = 10_000
[profile.optimized]
via_ir = true
out = 'out-via-ir'
[profile.test]
via_ir = true
out = 'out-via-ir'
[profile.docs]
src = 'src/interfaces/'
[fuzz]
runs = 1000
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
[rpc_endpoints]
gnosis = 'https://rpc.gnosis.gateway.fm'
optimism = 'https://mainnet.optimism.io'
sepolia = 'https://rpc.sepolia.io'
[etherscan]
gnosis = { key = "${ETHERSCAN_API_KEY}", url = "https://api.gnosisscan.io/api" ,name="gnosis" }
optimism = { key = "${ETHERSCAN_API_KEY}" }
sepolia = { key = "${ETHERSCAN_API_KEY}" }