Skip to content

Commit 13f4a88

Browse files
committed
chore(target_chains/sui): add new chain ids for new networks
1 parent ab2db7d commit 13f4a88

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ export const RECEIVER_CHAINS = {
232232
bittensor_testnet: 50115,
233233
monad_devnet: 50116,
234234
monad_testnet: 50117,
235+
iota_sui_testnet: 50118,
235236
};
236237

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

target_chains/sui/vendor/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Vendored dependencies for SUI contract
22

3-
This directory contains the wormhole dependencies used for deploying Pyth contracts on the chains
4-
that Wormhole is not officially deployed on. For each network, a slightly different variant of the
5-
code should be used that has the `CHAIN_ID` and `Move.toml` modified. Therefore, we are storing
3+
This directory contains the wormhole dependencies used for deploying Pyth contracts on the chains that Wormhole is not
4+
officially deployed on. For each network, a slightly different variant of the code should be used that has the
5+
`CHAIN_ID` constant (in `wormhole/sources/state.move`) and `Move.toml` modified. Therefore, we are storing
66
each of them in a separate directory.
77

88
The Wormhole contract is taken out of commit

target_chains/sui/vendor/wormhole_iota_testnet/wormhole/sources/state.move

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module wormhole::state {
4242
const E_INVALID_BUILD_DIGEST: u64 = 1;
4343

4444
/// Sui's chain ID is hard-coded to one value.
45-
const CHAIN_ID: u16 = 50076;
45+
const CHAIN_ID: u16 = 50118;
4646

4747
/// Capability reflecting that the current build version is used to invoke
4848
/// state methods.

0 commit comments

Comments
 (0)