Skip to content

Commit

Permalink
refactor(cosmwasm/tools): update cosmjs dependencies (#1514)
Browse files Browse the repository at this point in the history
* refactor(cosmwasm/tools): update cosmjs dependencies

We needed to update cosmjs dependencies to support Xion, which is based
on a new CometBFT-based variation of tendermint. This change also
includes the artifacts for the Xion testnet network.

* fix: pin a dependency to get nextjs to work

* fix: address review comments
  • Loading branch information
ali-bahjati authored Apr 29, 2024
1 parent 24a08a0 commit a203808
Show file tree
Hide file tree
Showing 12 changed files with 1,688 additions and 1,075 deletions.
8 changes: 8 additions & 0 deletions contract_manager/store/chains/CosmWasmChains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,11 @@
prefix: rol
feeDenom: urax
type: CosmWasmChain
- endpoint: https://testnet-burnt-rpc.lavenderfive.com
id: xion_testnet
wormholeChainName: xion_testnet
mainnet: false
gasPrice: "0.025"
prefix: xion
feeDenom: uxion
type: CosmWasmChain
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@
- chain: rol_testnet
address: rol1pvrwmjuusn9wh34j7y520g8gumuy9xtl3gvprlljfdpwju3x7ucszdyfs8
type: CosmWasmPriceFeedContract
- chain: xion_testnet
address: xion1w39ctwxxhxxc2kxarycjxj9rndn65gf8daek7ggarwh3rq3zl0lqqllnmt
type: CosmWasmPriceFeedContract
15 changes: 11 additions & 4 deletions governance/xc_admin/packages/xc_admin_common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,26 @@
"format": "prettier --write \"src/**/*.ts\"",
"test": "jest"
},
"//": [
"The injectivelabs/token-metadata package is pinned to a specific version to ensure that",
"wormhole-sdk can be built with the correct version of the package in nextjs (xc_admin_frontend).",
"Otherwise, the nextjs build will fail due to using a different version of the package."
],
"dependencies": {
"@certusone/wormhole-sdk": "^0.9.22",
"@certusone/wormhole-sdk": "^0.10.15",
"@coral-xyz/anchor": "^0.29.0",
"@injectivelabs/sdk-ts": "^1.10.72",
"@injectivelabs/token-metadata": "~1.10.42",
"@pythnetwork/client": "^2.17.0",
"@pythnetwork/pyth-solana-receiver": "*",
"@pythnetwork/solana-utils": "*",
"@solana/buffer-layout": "^4.0.1",
"@solana/web3.js": "^1.73.0",
"@sqds/mesh": "^1.0.6",
"bigint-buffer": "^1.1.5",
"ethers": "^5.7.2",
"lodash": "^4.17.21",
"typescript": "^4.9.4",
"@pythnetwork/solana-utils": "*",
"@pythnetwork/pyth-solana-receiver": "*"
"typescript": "^4.9.4"
},
"devDependencies": {
"@types/bn.js": "^5.1.1",
Expand Down
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 @@ -144,6 +144,7 @@ export const RECEIVER_CHAINS = {
sei_evm_devnet: 50067,
boba_sepolia: 50068,
astar_zkyoto_testnet: 50069,
xion_testnet: 50070,
};

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

0 comments on commit a203808

Please sign in to comment.