Prechádzať zdrojové kódy

chore(eth) Add zksync-sepolia (#1190)

Amin Moghaddam 1 rok pred
rodič
commit
51d23a2f52

+ 5 - 0
contract_manager/store/chains/EvmChains.yaml

@@ -378,3 +378,8 @@
   rpcUrl: https://rpc.bt.io
   networkId: 199
   type: EvmChain
+- id: zksync_sepolia
+  mainnet: false
+  rpcUrl: https://sepolia.era.zksync.dev/
+  networkId: 300
+  type: EvmChain

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

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

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

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

+ 10 - 0
target_chains/ethereum/contracts/networks/300.json

@@ -0,0 +1,10 @@
+[
+  {
+    "contractName": "WormholeReceiver",
+    "address": "0xc10F5BE78E464BB0E1f534D66E5A6ecaB150aEFa"
+  },
+  {
+    "contractName": "PythUpgradable",
+    "address": "0x056f829183Ec806A78c26C98961678c24faB71af"
+  }
+]