-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
31 lines (28 loc) · 1.14 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
[profile.default]
solc-version = '0.8.24'
src = "src"
out = "out"
test = 'test'
cache_path = 'cache'
libs = ["lib"]
remappings = [
# Due to a misconfiguration of solidity-bytes-utils, an outdated version
# of forge-std is being dragged in
#
# To remedy this, we'll remap the ds-test and forge-std imports to ou own versions
'forge-std/=lib/forge-std/src/',
'@layerzerolabs/lz-evm-protocol-v2=lib/LayerZero-v2/packages/layerzero-v2/evm/protocol',
'@layerzerolabs/lz-evm-oapp-v2=lib/LayerZero-v2/packages/layerzero-v2/evm/oapp',
'@layerzerolabs/lz-evm-messagelib-v2=lib/LayerZero-v2/packages/layerzero-v2/evm/messagelib',
'@stargatefinance/stg-evm-v2=lib/stargate-v2/packages/stg-evm-v2',
'@openzeppelin/=lib/openzeppelin-contracts/',
'solidity-bytes-utils/=lib/solidity-bytes-utils',
]
[rpc_endpoints]
mainnet = "${ETHERUM_RPC_URL}"
polygon = "${POLYGON_RPC_URL}"
arbitrum = "${ARBITRUM_RPC_URL}"
[etherscan]
mainnet = { key = "${ETHERSCAN_API_KEY}", url = "${ETHERSCAN_API}" }
polygon = { key = "${POLYGONSCAN_API_KEY}", url = "${POLYGONSCAN_API}" }
arbitrum = { key = "${ARB_ETHERSCAN_API_KEY}", url = "${ARBISCAN_API}" }