diff --git a/contract_manager/store/chains/EvmChains.yaml b/contract_manager/store/chains/EvmChains.yaml index 12ca4058fe..0d47354c88 100644 --- a/contract_manager/store/chains/EvmChains.yaml +++ b/contract_manager/store/chains/EvmChains.yaml @@ -352,3 +352,15 @@ rpcUrl: https://sepolia-rollup.arbitrum.io/rpc networkId: 421614 type: EvmChain +- id: boba + wormholeChainName: boba + mainnet: true + rpcUrl: https://replica.boba.network + networkId: 288 + type: EvmChain +- id: boba_goerli + wormholeChainName: boba + mainnet: false + rpcUrl: https://goerli.boba.network + networkId: 2888 + type: EvmChain diff --git a/contract_manager/store/contracts/EvmContracts.yaml b/contract_manager/store/contracts/EvmContracts.yaml index aeac473db8..fd72243832 100644 --- a/contract_manager/store/contracts/EvmContracts.yaml +++ b/contract_manager/store/contracts/EvmContracts.yaml @@ -175,3 +175,9 @@ - chain: arbitrum_sepolia address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" type: EvmContract +- chain: boba_goerli + address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" + type: EvmContract +- chain: boba + address: "0x4374e5a8b9C22271E9EB878A2AA31DE97DF15DAF" + type: EvmContract diff --git a/governance/xc_admin/packages/xc_admin_common/src/chains.ts b/governance/xc_admin/packages/xc_admin_common/src/chains.ts index aa47732703..561d4fa8fd 100644 --- a/governance/xc_admin/packages/xc_admin_common/src/chains.ts +++ b/governance/xc_admin/packages/xc_admin_common/src/chains.ts @@ -43,6 +43,7 @@ export const RECEIVER_CHAINS = { scroll: 60028, ronin: 60029, horizen: 60030, + boba: 60031, }; // If there is any overlapping value the receiver chain will replace the wormhole diff --git a/target_chains/ethereum/contracts/hardhat.config.ts b/target_chains/ethereum/contracts/hardhat.config.ts index 0a7d3feae2..bd4a1d88c7 100644 --- a/target_chains/ethereum/contracts/hardhat.config.ts +++ b/target_chains/ethereum/contracts/hardhat.config.ts @@ -16,6 +16,13 @@ module.exports = { }, defaultNetwork: "zkSyncTestnet", networks: { + [process.env.MIGRATIONS_NETWORK!]: { + url: process.env.RPC_URL, + chainId: Number(process.env.NETWORK_ID), + accounts: { + mnemonic: process.env.MNEMONIC, + }, + }, goerli: { url: `https://goerli.infura.io/v3/${process.env.INFURA_KEY}`, zksync: false, @@ -55,6 +62,8 @@ module.exports = { apiKey: { neon_devnet: "there_should_be_a_dummy_value_here_to_avoid_error", shimmer_testnet: "there_should_be_a_dummy_value_here_to_avoid_error", + boba_goerli: "there_should_be_a_dummy_value_here_to_avoid_error", + boba: "there_should_be_a_dummy_value_here_to_avoid_error", }, customChains: [ { @@ -73,6 +82,24 @@ module.exports = { browserURL: "https://explorer.evm.testnet.shimmer.network", }, }, + { + network: "boba", + chainId: 288, + urls: { + apiURL: + "https://api.routescan.io/v2/network/mainnet/evm/288/etherscan", + browserURL: "https://boba.routescan.io", + }, + }, + { + network: "boba_goerli", + chainId: 2888, + urls: { + apiURL: + "https://api.routescan.io/v2/network/testnet/evm/2888/etherscan", + browserURL: "https://boba.testnet.routescan.io", + }, + }, ], }, solidity: { diff --git a/target_chains/ethereum/contracts/networks/288.json b/target_chains/ethereum/contracts/networks/288.json new file mode 100644 index 0000000000..a63df7b92c --- /dev/null +++ b/target_chains/ethereum/contracts/networks/288.json @@ -0,0 +1,16 @@ +[ + { + "contractName": "Migrations", + "address": "0x8D254a21b3C86D32F7179855531CE99164721933" + }, + { + "contractName": "WormholeReceiver", + "address": "0x26DD80569a8B23768A1d80869Ed7339e07595E85", + "transactionHash": "0x4aad7eec099d532a9f789e9aea66f618c5caffd90e020f4b932fbe1aa4e97399" + }, + { + "contractName": "PythUpgradable", + "address": "0x4374e5a8b9C22271E9EB878A2AA31DE97DF15DAF", + "transactionHash": "0x474abad5df7ea8e990f84f66de2a176849b59138060db24546baf886d0b95034" + } +] diff --git a/target_chains/ethereum/contracts/networks/2888.json b/target_chains/ethereum/contracts/networks/2888.json new file mode 100644 index 0000000000..1cdfb5b37f --- /dev/null +++ b/target_chains/ethereum/contracts/networks/2888.json @@ -0,0 +1,16 @@ +[ + { + "contractName": "Migrations", + "address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832" + }, + { + "contractName": "WormholeReceiver", + "address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a", + "transactionHash": "0x88883c1bdfd0b2ea87335e3a7d241fea529e62368be8f50bc2ef434299b793eb" + }, + { + "contractName": "PythUpgradable", + "address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729", + "transactionHash": "0xaa448d9b21ee187620674ca3b40a5bc8c7b3c2148f5206f18a80e2a288cd9604" + } +]