-
Notifications
You must be signed in to change notification settings - Fork 4
/
foundry.toml
67 lines (62 loc) · 2.45 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[profile.default]
src = 'src'
tests = 'tests'
script = 'script'
out = 'out'
libs = ['lib']
evm_version = 'shanghai'
remappings = []
[profile.zksync]
src = 'zksync/src'
test = 'zksync/test'
script = 'zksync/script'
libs = ['lib']
solc = '0.8.24'
evm_version = 'cancun'
[profile.zksync.zksync]
fallback_oz = true
mode = "3"
zksolc = "1.4.1"
# See more config options https://github.com/gakonst/foundry/tree/master/config
[rpc_endpoints]
ethereum = "${RPC_MAINNET}"
ethereum-testnet = "${RPC_MAINNET_TESTNET}"
polygon = "${RPC_POLYGON}"
polygon-testnet = "${RPC_POLYGON_TESTNET}"
arbitrum = "${RPC_ARBITRUM}"
arbitrum-testnet = "${RPC_ARBITRUM_TESTNET}"
metis = "${RPC_METIS}"
metis-testnet = "${RPC_METIS_TESTNET}"
avalanche = "${RPC_AVALANCHE}"
avalanche-testnet = "${RPC_AVALANCHE_TESTNET}"
optimism = "${RPC_OPTIMISM}"
optimism-testnet = "${RPC_OPTIMISM_TESTNET}"
fantom = "${RPC_FANTOM}"
fantom-testnet = "${RPC_FANTOM_TESTNET}"
binance = "${RPC_BINANCE}"
binance-testnet = "${RPC_BINANCE_TESTNET}"
zksync = "${RPC_ZKSYNC}"
zksync-testnet = "${RPC_ZKSYNC_TESTNET}"
[etherscan]
ethereum = { key = "${ETHERSCAN_API_KEY_MAINNET}", chain = 1 }
ethereum-testnet = { key = "${ETHERSCAN_API_KEY_MAINNET}", chain = 1 }
optimism = { key = "${ETHERSCAN_API_KEY_OPTIMISM}", chain = 10 }
optimism-testnet = { key = "${ETHERSCAN_API_KEY_OPTIMISM}", chain = 10 }
avalanche = { key = "${ETHERSCAN_API_KEY_AVALANCHE}", chain = 43114 }
avalanche-testnet = { key = "${ETHERSCAN_API_KEY_AVALANCHE}", chain = 43114 }
polygon = { key = "${ETHERSCAN_API_KEY_POLYGON}", chain = 137 }
polygon-testnet = { key = "${ETHERSCAN_API_KEY_POLYGON}", chain = 137 }
arbitrum = { key = "${ETHERSCAN_API_KEY_ARBITRUM}", chain = 42161 }
arbitrum-testnet = { key = "${ETHERSCAN_API_KEY_ARBITRUM}", chain = 42161 }
metis = { key = "any", chain = 1088, url = 'https://andromeda-explorer.metis.io/' }
metis-testnet = { key = "any", chain = 599, url = 'https://goerli.explorer.metisdevops.link/' }
fantom = { key = "${ETHERSCAN_API_KEY_FANTOM}", chain = 250 }
fantom-testnet = { key = "${ETHERSCAN_API_KEY_FANTOM}", chain = 250 }
binance = { key = "${ETHERSCAN_API_KEY_BINANCE}", chain = 56 }
binance-testnet = { key = "${ETHERSCAN_API_KEY_BINANCE}", chain = 56 }
zksync = { key = "${ETHERSCAN_API_KEY_ZKSYNC}", chain = 324 }
zksync-testnet = { key = "${ETHERSCAN_API_KEY_ZKSYNC}", chain = 300, url = 'https://api-sepolia-era.zksync.network/api' }
[fuzz]
no_zksync_reserved_addresses = true
[invariant]
no_zksync_reserved_addresses = true