From f721c8ac3bb6974dbf55e12dbb94eda6cc0d1f72 Mon Sep 17 00:00:00 2001 From: JayJay1024 Date: Wed, 10 Apr 2024 10:08:44 +0800 Subject: [PATCH] Fix cross-chain category config --- src/config/chains/crab.ts | 2 +- src/config/chains/darwinia.ts | 2 +- src/config/chains/ethereum.ts | 4 ++-- src/config/chains/sepolia.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/config/chains/crab.ts b/src/config/chains/crab.ts index b1b4a219..3b9c9a5b 100644 --- a/src/config/chains/crab.ts +++ b/src/config/chains/crab.ts @@ -69,7 +69,7 @@ export const crabChain: ChainConfig = { cross: [ { target: { network: "darwinia-dvm", symbol: "RING" }, - bridge: { category: "xtoken-crab-darwinia" }, + bridge: { category: "xtoken-darwinia-crab" }, action: "redeem", }, ], diff --git a/src/config/chains/darwinia.ts b/src/config/chains/darwinia.ts index cc3c77d6..a62e6b94 100644 --- a/src/config/chains/darwinia.ts +++ b/src/config/chains/darwinia.ts @@ -114,7 +114,7 @@ export const darwiniaChain: ChainConfig = { cross: [ { target: { network: "crab-dvm", symbol: "CRAB" }, - bridge: { category: "xtoken-darwinia-crab" }, + bridge: { category: "xtoken-crab-darwinia" }, action: "redeem", }, ], diff --git a/src/config/chains/ethereum.ts b/src/config/chains/ethereum.ts index a13de460..725a3d2d 100644 --- a/src/config/chains/ethereum.ts +++ b/src/config/chains/ethereum.ts @@ -52,7 +52,7 @@ export const ethereumChain: ChainConfig = { }, { target: { network: "darwinia-dvm", symbol: "RING" }, - bridge: { category: "xtoken-ethereum-darwinia" }, + bridge: { category: "xtoken-darwinia-ethereum" }, action: "redeem", }, ], @@ -75,7 +75,7 @@ export const ethereumChain: ChainConfig = { }, { target: { network: "darwinia-dvm", symbol: "KTON" }, - bridge: { category: "xtoken-ethereum-darwinia" }, + bridge: { category: "xtoken-darwinia-ethereum" }, action: "redeem", }, ], diff --git a/src/config/chains/sepolia.ts b/src/config/chains/sepolia.ts index 394bc008..2c0fcded 100644 --- a/src/config/chains/sepolia.ts +++ b/src/config/chains/sepolia.ts @@ -47,7 +47,7 @@ export const sepoliaChain: ChainConfig = { cross: [ { target: { network: "pangolin-dvm", symbol: "PRING" }, - bridge: { category: "xtoken-sepolia-pangolin" }, + bridge: { category: "xtoken-pangolin-sepolia" }, action: "redeem", }, ],