Skip to content

Commit a203808

Browse files
authored
refactor(cosmwasm/tools): update cosmjs dependencies (#1514)
* 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
1 parent 24a08a0 commit a203808

File tree

12 files changed

+1688
-1075
lines changed

12 files changed

+1688
-1075
lines changed

contract_manager/store/chains/CosmWasmChains.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,11 @@
7474
prefix: rol
7575
feeDenom: urax
7676
type: CosmWasmChain
77+
- endpoint: https://testnet-burnt-rpc.lavenderfive.com
78+
id: xion_testnet
79+
wormholeChainName: xion_testnet
80+
mainnet: false
81+
gasPrice: "0.025"
82+
prefix: xion
83+
feeDenom: uxion
84+
type: CosmWasmChain

contract_manager/store/contracts/CosmWasmPriceFeedContracts.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,6 @@
4343
- chain: rol_testnet
4444
address: rol1pvrwmjuusn9wh34j7y520g8gumuy9xtl3gvprlljfdpwju3x7ucszdyfs8
4545
type: CosmWasmPriceFeedContract
46+
- chain: xion_testnet
47+
address: xion1w39ctwxxhxxc2kxarycjxj9rndn65gf8daek7ggarwh3rq3zl0lqqllnmt
48+
type: CosmWasmPriceFeedContract

governance/xc_admin/packages/xc_admin_common/package.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,26 @@
1919
"format": "prettier --write \"src/**/*.ts\"",
2020
"test": "jest"
2121
},
22+
"//": [
23+
"The injectivelabs/token-metadata package is pinned to a specific version to ensure that",
24+
"wormhole-sdk can be built with the correct version of the package in nextjs (xc_admin_frontend).",
25+
"Otherwise, the nextjs build will fail due to using a different version of the package."
26+
],
2227
"dependencies": {
23-
"@certusone/wormhole-sdk": "^0.9.22",
28+
"@certusone/wormhole-sdk": "^0.10.15",
2429
"@coral-xyz/anchor": "^0.29.0",
30+
"@injectivelabs/sdk-ts": "^1.10.72",
31+
"@injectivelabs/token-metadata": "~1.10.42",
2532
"@pythnetwork/client": "^2.17.0",
33+
"@pythnetwork/pyth-solana-receiver": "*",
34+
"@pythnetwork/solana-utils": "*",
2635
"@solana/buffer-layout": "^4.0.1",
2736
"@solana/web3.js": "^1.73.0",
2837
"@sqds/mesh": "^1.0.6",
2938
"bigint-buffer": "^1.1.5",
3039
"ethers": "^5.7.2",
3140
"lodash": "^4.17.21",
32-
"typescript": "^4.9.4",
33-
"@pythnetwork/solana-utils": "*",
34-
"@pythnetwork/pyth-solana-receiver": "*"
41+
"typescript": "^4.9.4"
3542
},
3643
"devDependencies": {
3744
"@types/bn.js": "^5.1.1",

governance/xc_admin/packages/xc_admin_common/src/chains.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ export const RECEIVER_CHAINS = {
144144
sei_evm_devnet: 50067,
145145
boba_sepolia: 50068,
146146
astar_zkyoto_testnet: 50069,
147+
xion_testnet: 50070,
147148
};
148149

149150
// If there is any overlapping value the receiver chain will replace the wormhole

0 commit comments

Comments
 (0)