Skip to content

Commit

Permalink
chore(target_chains/aptos): add bardock network (#2156)
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-bahjati authored Dec 2, 2024
1 parent 257dca5 commit e5fda4b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions contract_manager/store/chains/AptosChains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 4 additions & 0 deletions contract_manager/store/contracts/AptosPriceFeedContracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@
stateId: "0x9357e76fe965c9956a76181ee49f66d51b7f9c3800182a944ed96be86301e49f"
wormholeStateId: "0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9"
type: AptosPriceFeedContract
- chain: movement_bardock_testnet
stateId: "0x9357e76fe965c9956a76181ee49f66d51b7f9c3800182a944ed96be86301e49f"
wormholeStateId: "0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9"
type: AptosPriceFeedContract
3 changes: 3 additions & 0 deletions contract_manager/store/contracts/AptosWormholeContracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
- chain: movement_porto_testnet
address: "0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9"
type: AptosWormholeContract
- chain: movement_bardock_testnet
address: "0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9"
type: AptosWormholeContract
1 change: 1 addition & 0 deletions governance/xc_admin/packages/xc_admin_common/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion target_chains/aptos/contracts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e5fda4b

Please sign in to comment.