-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
45 lines (39 loc) · 954 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
40
41
42
43
44
45
[dependencies]
forge-std = { version = "1.9.1" }
[profile.default]
auto_detect_solc = false
block_timestamp = 1_680_220_800
bytecode_hash = "none"
evm_version = "cancun"
fs_permissions = [{ access = "read-write", path = "./" }]
memory_limit = 268435456
optimizer = true
optimizer_runs = 1000
out = "out"
script = "script"
solc = "0.8.26"
src = "src"
test = "test"
[profile.ci]
fuzz = { runs = 10_000 }
verbosity = 4
[profile.lite]
optimizer = false
[fmt]
bracket_spacing = true
int_types = "long"
line_length = 120
multiline_func_header = "all"
number_underscore = "thousands"
override_spacing = false
quote_style = "double"
single_line_statement_blocks = "multi"
sort_imports = true
tab_width = 4
wrap_comments = true
[etherscan]
mainnet = { key = "${API_KEY_ETHERSCAN}"}
# NOTE: Add any rpc endpoint according to your preference.
[rpc_endpoints]
localhost = "http://localhost:8545"
mainnet = "${RPC_URL_MAINNET}"