Просмотр исходного кода

Add Base sepolia + some minor improvements (#1202)

* Add base sepolia

* Fix broken rpc urls

* Small fix
Amin Moghaddam 1 год назад
Родитель
Сommit
e1606a42b5

+ 8 - 3
contract_manager/store/chains/EvmChains.yaml

@@ -5,7 +5,7 @@
   type: EvmChain
 - id: kava
   mainnet: true
-  rpcUrl: https://evm.kava.io
+  rpcUrl: https://kava-evm.publicnode.com
   networkId: 2222
   type: EvmChain
 - id: evmos
@@ -95,7 +95,7 @@
   type: EvmChain
 - id: meter
   mainnet: true
-  rpcUrl: https://rpc-meter.jellypool.xyz
+  rpcUrl: https://meter.blockpi.network/v1/rpc/public
   networkId: 82
   type: EvmChain
 - id: chiado
@@ -345,7 +345,7 @@
   type: EvmChain
 - id: coredao
   mainnet: true
-  rpcUrl: https://rpc3.coredao.org
+  rpcUrl: https://rpc.coredao.org
   networkId: 1116
   type: EvmChain
 - id: tomochain
@@ -383,3 +383,8 @@
   rpcUrl: https://sepolia.era.zksync.dev/
   networkId: 300
   type: EvmChain
+- id: base_sepolia
+  mainnet: false
+  rpcUrl: https://sepolia.base.org
+  networkId: 84532
+  type: EvmChain

+ 3 - 0
contract_manager/store/contracts/EvmContracts.yaml

@@ -229,3 +229,6 @@
 - chain: zksync_sepolia
   address: "0x056f829183Ec806A78c26C98961678c24faB71af"
   type: EvmContract
+- chain: base_sepolia
+  address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
+  type: EvmContract

+ 1 - 0
governance/xc_admin/packages/xc_admin_common/src/chains.ts

@@ -108,6 +108,7 @@ export const RECEIVER_CHAINS = {
   mode_testnet: 50040,
   bttc_testnet: 50041,
   zksync_sepolia: 50042,
+  base_sepolia: 50043,
 };
 
 // If there is any overlapping value the receiver chain will replace the wormhole

+ 1 - 1
target_chains/ethereum/contracts/create-env.js

@@ -1,7 +1,7 @@
 /**
  * This script is used to generate the .env file for a specific network.
  * You can call it like this:
- *  node create-env.js <contract-id>
+ *  node create-env.js <chain-id>
  */
 
 const { DefaultStore, EvmChain } = require("contract_manager");

+ 16 - 0
target_chains/ethereum/contracts/networks/84532.json

@@ -0,0 +1,16 @@
+[
+  {
+    "contractName": "Migrations",
+    "address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
+  },
+  {
+    "contractName": "WormholeReceiver",
+    "address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
+    "transactionHash": "0x713a6e34378ce7c5df18c9876f4ae37af41f9edc1267cf5f90054150920ba9d8"
+  },
+  {
+    "contractName": "PythUpgradable",
+    "address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
+    "transactionHash": "0xf9818e35635b8f1b26557a4844c2d5a02578a0e667b28fab60d1a50a1b87c0bd"
+  }
+]