Skip to content

Commit cdf7e28

Browse files
authored
fix: added Sui contracts to registry (#227)
1 parent 9cb94cf commit cdf7e28

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/chains/zetachain/initRegistry.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const initRegistry = async ({
2222
bnb: NetworkID.BNB,
2323
ethereum: NetworkID.Ethereum,
2424
solana: NetworkID.Solana,
25+
sui: NetworkID.Sui,
2526
zetachain: NetworkID.ZetaChain,
2627
};
2728

@@ -42,7 +43,6 @@ export const initRegistry = async ({
4243
(item: any) =>
4344
!item.type.includes("ZRC-20") &&
4445
!item.type.includes("SPL-20") &&
45-
item.chain !== "sui" &&
4646
item.chain !== "ton" &&
4747
item.chain &&
4848
item.address &&
@@ -71,7 +71,7 @@ export const initRegistry = async ({
7171
if (chain === "zetachain") continue;
7272

7373
// Skip non-EVM chains that don't have registry contracts
74-
if (["sui", "ton"].includes(chain)) continue;
74+
if (["ton"].includes(chain)) continue;
7575

7676
try {
7777
logger.debug(`Registering ${chain} chain`, { chain: "localnet" });
@@ -365,6 +365,7 @@ export const registerGatewayContracts = async ({
365365
bnb: NetworkID.BNB,
366366
ethereum: NetworkID.Ethereum,
367367
solana: NetworkID.Solana,
368+
sui: NetworkID.Sui,
368369
zetachain: NetworkID.ZetaChain,
369370
};
370371

0 commit comments

Comments
 (0)