Prechádzať zdrojové kódy

chore(target_chains/aptos): add bardock network (#2156)

Ali Behjati 11 mesiacov pred
rodič
commit
e5fda4b6d7

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

@@ -24,3 +24,8 @@
   mainnet: false
   rpcUrl: https://aptos.testnet.porto.movementlabs.xyz/v1
   type: AptosChain
+- id: movement_bardock_testnet
+  wormholeChainName: movement_bardock_testnet
+  mainnet: false
+  rpcUrl: https://aptos.testnet.bardock.movementlabs.xyz/v1
+  type: AptosChain

+ 4 - 0
contract_manager/store/contracts/AptosPriceFeedContracts.yaml

@@ -18,3 +18,7 @@
   stateId: "0x9357e76fe965c9956a76181ee49f66d51b7f9c3800182a944ed96be86301e49f"
   wormholeStateId: "0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9"
   type: AptosPriceFeedContract
+- chain: movement_bardock_testnet
+  stateId: "0x9357e76fe965c9956a76181ee49f66d51b7f9c3800182a944ed96be86301e49f"
+  wormholeStateId: "0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9"
+  type: AptosPriceFeedContract

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

@@ -13,3 +13,6 @@
 - chain: movement_porto_testnet
   address: "0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9"
   type: AptosWormholeContract
+- chain: movement_bardock_testnet
+  address: "0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9"
+  type: AptosWormholeContract

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

@@ -216,6 +216,7 @@ export const RECEIVER_CHAINS = {
   hyperevm_testnet: 50109,
   eventum_testnet: 50110,
   fantom_sonic_devnet: 50111,
+  movement_bardock_testnet: 50112,
 };
 
 // If there is any overlapping value the receiver chain will replace the wormhole

+ 1 - 1
target_chains/aptos/contracts/Makefile

@@ -3,7 +3,7 @@ artifacts: build
 
 .PHONY: build
 build:
-	aptos move compile --save-metadata --named-addresses wormhole=0x251011524cd0f76881f16e7c2d822f0c1c9510bfd2430ba24e1b3d52796df204,deployer=0x277fa055b6a73c42c0662d5236c65c864ccbf2d4abd21f174a30c8b786eab84b,pyth=0x277fa055b6a73c42c0662d5236c65c864ccbf2d4abd21f174a30c8b786eab84b
+	aptos move compile --save-metadata --named-addresses wormhole=0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9,deployer=0xa3ad2d9c8114b9a4fe97d45b7a9d3c731148d936b0f5dd396fc20a53a11a70da,pyth=0x9357e76fe965c9956a76181ee49f66d51b7f9c3800182a944ed96be86301e49f
 
 .PHONY: clean
 clean: