generated from ScopeLift/foundry-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
foundry.toml
39 lines (35 loc) · 1.03 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
[profile.default]
evm_version = "paris"
fs_permissions = [{ access = "read", path = "./broadcast" }]
optimizer = true
optimizer_runs = 10_000_000
remappings = [
"wormhole/=lib/wormhole/ethereum/contracts",
"openzeppelin/=lib/openzeppelin-contracts/contracts",
"openzeppelin-flexible-voting/=lib/flexible-voting/lib/openzeppelin-contracts/contracts/",
]
solc_version = "0.8.20"
verbosity = 3
[profile.ci]
fuzz = { runs = 1000 }
invariant = { runs = 1000 }
[rpc_endpoints]
avalanche_fuji = "${FUJI_RPC_URL}"
mainnet = "${ETHEREUM_RPC_URL}"
optimism = "${OPTIMISM_RPC_URL}"
polygon_mumbai = "${MUMBAI_RPC_URL}"
[profile.lite]
fuzz = { runs = 50 }
invariant = { runs = 10 }
# Speed up compilation and tests during development.
optimizer = false
[fmt]
bracket_spacing = false
int_types = "long"
line_length = 100
multiline_func_header = "attributes_first"
number_underscore = "thousands"
quote_style = "double"
single_line_statement_blocks = "single"
tab_width = 2
wrap_comments = true