-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
41 lines (34 loc) · 857 Bytes
/
foundry.toml
File metadata and controls
41 lines (34 loc) · 857 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
[profile.default]
# Directory Setup
script = "script"
src = "contracts"
test = "test"
# Gas/Memory
dynamic_test_linking = true
gas_limit = "18446744073709551615" # 2^64 - 1
memory_limit = 1073741824 # 1 GB
# Compiler Options
bytecode_hash = "none"
evm_version = "cancun"
optimizer = true
optimizer_runs = 169
solc_version = "0.8.33"
via_ir = false
# Permissions
fs_permissions = [{access = "read-write", path = "./"}]
[rpc_endpoints]
base = "https://base-rpc.publicnode.com"
bsc = "https://bsc-rpc.publicnode.com"
mainnet = "https://ethereum-rpc.publicnode.com"
[etherscan]
base = {key = "${ETHERSCAN_KEY}"}
bsc = {key = "${ETHERSCAN_KEY}"}
mainnet = {key = "${ETHERSCAN_KEY}"}
[fmt]
bracket_spacing = true
ignore = ["contracts/artifacts"]
single_line_statement_blocks = "multi"
sort_imports = true
wrap_comments = true
[lint]
lint_on_build = false