Skip to content

Commit

Permalink
fix: add aptos cli and add movement testnet aptos network (#1777)
Browse files Browse the repository at this point in the history
* fix: add aptos cli and add movement testnet aptos network

* fix: remove test from aptos cli
  • Loading branch information
ali-bahjati authored Jul 17, 2024
1 parent 8fff783 commit 80a7c05
Show file tree
Hide file tree
Showing 11 changed files with 171 additions and 607 deletions.
1 change: 1 addition & 0 deletions contract_manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"@pythnetwork/pyth-sui-js": "workspace:*",
"@pythnetwork/solana-utils": "workspace:^",
"@pythnetwork/xc-admin-common": "workspace:*",
"@solana/web3.js": "^1.73.0",
"@sqds/mesh": "^1.0.6",
"@types/yargs": "^17.0.32",
"aptos": "^1.5.0",
Expand Down
5 changes: 5 additions & 0 deletions contract_manager/store/chains/AptosChains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@
mainnet: false
rpcUrl: https://devnet.m1.movementlabs.xyz/v1
type: AptosChain
- id: movement_suzuka_testnet
wormholeChainName: movement_suzuka_testnet
mainnet: false
rpcUrl: https://aptos.testnet.suzuka.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 @@ -10,3 +10,7 @@
stateId: "0x9357e76fe965c9956a76181ee49f66d51b7f9c3800182a944ed96be86301e49f"
wormholeStateId: "0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9"
type: AptosPriceFeedContract
- chain: movement_suzuka_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 @@ -7,3 +7,6 @@
- chain: movement_m1_devnet
address: "0x9236893d6444b208b7e0b3e8d4be4ace90b6d17817ab7d1584e46a33ef5c50c9"
type: AptosWormholeContract
- chain: movement_suzuka_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 @@ -169,6 +169,7 @@ export const RECEIVER_CHAINS = {
klaytn_testnet: 50086,
morph_holesky_testnet: 50087,
tabi_testnet: 50088,
movement_suzuka_testnet: 50089,
};

// If there is any overlapping value the receiver chain will replace the wormhole
Expand Down
Loading

0 comments on commit 80a7c05

Please sign in to comment.