-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathfoundry.toml
More file actions
36 lines (31 loc) · 995 Bytes
/
foundry.toml
File metadata and controls
36 lines (31 loc) · 995 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
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
solc = "0.8.34"
optimizer = true
optimizer_runs = 20
allow_internal_expect_revert = true
fs_permissions = [{ access = "read-write", path = "./"}]
ffi = true
ast = true
force = true # force recompile, must clean first in v5: https://docs.openzeppelin.com/upgrades-plugins/1.x/foundry-upgrades#before_running
build_info = true
extra_output = ["storageLayout"]
# Enable the Solidity via-IR pipeline for better code size optimization
via_ir = true
[profile.ci]
force = false
build_info = false
extra_output = []
[rpc_endpoints]
bsc_testnet = "${BSC_TESTNET_RPC_URL}"
bsc = "${BSC_RPC_URL}"
sepolia = "${SEPOLIA_RPC_URL}"
eth = "${ETHEREUM_RPC_URL}"
[etherscan]
bsc = { key = "${BSCSCAN_API_KEY}" }
bsc_testnet = { key = "${BSCSCAN_API_KEY}" }
sepolia = { key = "${ETHERSCAN_API_KEY}" }
eth = { key = "${ETHERSCAN_API_KEY}" }