Skip to content

Commit

Permalink
fix: new mantle deployment using shanghai
Browse files Browse the repository at this point in the history
  • Loading branch information
sendra committed Feb 10, 2025
1 parent 2698c81 commit 546e96a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ BASE_KEY = --private-key ${PRIVATE_KEY}



custom_ethereum := --with-gas-price 3000000000 # 53 gwei
custom_ethereum := --with-gas-price 1000000000 # 53 gwei
#custom_polygon := --with-gas-price 190000000000 # 560 gwei
#custom_avalanche := --with-gas-price 27000000000 # 27 gwei
#custom_metis-testnet := --legacy --verifier-url https://goerli.explorer.metisdevops.link/api/
Expand Down Expand Up @@ -214,7 +214,7 @@ deploy-linea-adapters-test:
$(call deploy_fn,adapters/DeployLineaAdapter,ethereum)

deploy-mantle-adapters-test:
$(call deploy_fn,adapters/DeployMantleAdapter,ethereum)
$(call deploy_fn,adapters/DeployMantleAdapter,mantle)

## Set sender bridge dapters. Only eth pol avax are needed as other networks will only receive
set-ccf-sender-adapters-test:
Expand Down
2 changes: 1 addition & 1 deletion deployments/ethereum.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"hlAdapter": "0x01dcb90Cf13b82Cde4A0BAcC655585a83Af3cCC1",
"lineaAdapter": "0x8097555ffDa4176C93FEf92dF473b9763e467686",
"lzAdapter": "0x8410d9BD353b420ebA8C48ff1B0518426C280FCC",
"mantleAdapter": "0xAd31Bc5b2555a472d2689F5c387D08a93484bBac",
"mantleAdapter": "0xb66FA987fa7975Cac3d12B629c9c44e459e50990",
"metisAdapter": "0x6B3Dc800E7c813Db3fe8D0F30fDCaE636935dC14",
"mockDestination": "0x19198689FfBE82207F023248dca175a84c52eCE1",
"opAdapter": "0x0e24524778fdc67f53eEf144b8cbf50261E930B3",
Expand Down
10 changes: 5 additions & 5 deletions deployments/mantle.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@
"chainId": 5000,
"clEmergencyOracle": "0x0000000000000000000000000000000000000000",
"create3Factory": "0x0000000000000000000000000000000000000000",
"crossChainController": "0x7Fcb83a4a2577e30aaD0218B5A3C015b40b1209A",
"crossChainControllerImpl": "0x751cF898E4ea6982903C310d90Be11AAab4A95EF",
"crossChainController": "0x1283C5015B1Fb5616FA3aCb0C18e6879a02869cB",
"crossChainControllerImpl": "0x931F1da6E2Bc9Ef1842b3094b908E9E6E24D1198",
"emergencyRegistry": "0x0000000000000000000000000000000000000000",
"executor": "0x9390B1735def18560c509E2d0bc090E9d6BA257a",
"executor": "0x70884634D0098782592111A2A6B8d223be31CB7b",
"gnosisAdapter": "0x0000000000000000000000000000000000000000",
"granularCCCGuardian": "0xDA575812755ED6C5Ad33a859798d472C0495529A",
"guardian": "0xEAF6183bAb3eFD3bF856Ac5C058431C8592394d6",
"hlAdapter": "0x0000000000000000000000000000000000000000",
"lineaAdapter": "0x0000000000000000000000000000000000000000",
"lzAdapter": "0x0000000000000000000000000000000000000000",
"mantleAdapter": "0xD6a04d6db9c4546633aB5a10a3F9800200c8db92",
"mantleAdapter": "0x4E740ac02b866b429738a9e225e92A15F4452521",
"metisAdapter": "0x0000000000000000000000000000000000000000",
"mockDestination": "0x0000000000000000000000000000000000000000",
"opAdapter": "0x0000000000000000000000000000000000000000",
"owner": "0xEAF6183bAb3eFD3bF856Ac5C058431C8592394d6",
"polAdapter": "0x0000000000000000000000000000000000000000",
"proxyAdminCCC": "0xb9Dc8F89a99De1A20cBc5A28B43b84a2b63168BF",
"proxyAdminCCC": "0x80568e042AD141EE72667db9F2549e5aA8433A94",
"proxyFactory": "0xEB0682d148e874553008730f0686ea89db7DA412",
"sameChainAdapter": "0x0000000000000000000000000000000000000000",
"scrollAdapter": "0x0000000000000000000000000000000000000000",
Expand Down
8 changes: 6 additions & 2 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ fs_permissions = [{ access = "read-write", path = "./"}]
metadata="none"
solc = "0.8.22"
ffi = true
evm_version = 'cancun'

optimizer = true
optimizer_runs = 200
evm_version = 'shanghai'
bytecode_hash = 'none'

[profile.zksync.zksync]
fallback_oz = true
Expand Down Expand Up @@ -88,7 +92,7 @@ zksync={key="${ETHERSCAN_API_KEY_ZK_SYNC}", chain=324}
zksync-testnet={key="${ETHERSCAN_API_KEY_ZK_SYNC}", chain=300, url='https://api-sepolia-era.zksync.network/api'}
linea={key="${ETHERSCAN_API_KEY_LINEA}", chain=59144 }
linea-testnet={key="${ETHERSCAN_API_KEY_LINEA}",chain=59141}
mantle={key="${ETHERSCAN_API_KEY_MANTLE}", chain=5000, url='https://api.routescan.io/v2/network/mainnet/evm/5000/etherscan'}
mantle={key="${ETHERSCAN_API_KEY_MANTLE}", chain=5000, url='https://api.mantlescan.xyz/api'}
mantle-testnet={key="${ETHERSCAN_API_KEY_MANTLE}", chain=5003, url='https://explorer.testnet.mantle.xyz/api'}

# See more config options https://github.com/gakonst/foundry/tree/master/config
Expand Down

0 comments on commit 546e96a

Please sign in to comment.