From 65972474992d598a08111f0c15a27e85ae7a2f6c Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 15 Mar 2024 13:13:24 +0800 Subject: [PATCH] refactor: disable Darwinia<>Ethereum (#9) --- src/config/chains/darwinia.ts | 2 ++ src/config/chains/ethereum.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/config/chains/darwinia.ts b/src/config/chains/darwinia.ts index 9b21f6d3c..ea73cf7c4 100644 --- a/src/config/chains/darwinia.ts +++ b/src/config/chains/darwinia.ts @@ -68,6 +68,7 @@ export const darwiniaChain: ChainConfig = { bridge: { category: "helix-sub2ethv2(lock)" }, action: "issue", min: 1000000000000000000000000n, + hidden: true, }, ], }, @@ -92,6 +93,7 @@ export const darwiniaChain: ChainConfig = { target: { network: "ethereum", symbol: "KTON" }, bridge: { category: "helix-sub2ethv2(lock)" }, action: "issue", + hidden: true, }, ], }, diff --git a/src/config/chains/ethereum.ts b/src/config/chains/ethereum.ts index 9d28cd1c2..86e9455cc 100644 --- a/src/config/chains/ethereum.ts +++ b/src/config/chains/ethereum.ts @@ -44,6 +44,7 @@ export const ethereumChain: ChainConfig = { target: { network: "darwinia-dvm", symbol: "RING" }, bridge: { category: "helix-sub2ethv2(unlock)" }, action: "redeem", + hidden: true, }, ], }, @@ -59,6 +60,7 @@ export const ethereumChain: ChainConfig = { target: { network: "darwinia-dvm", symbol: "KTON" }, bridge: { category: "helix-sub2ethv2(unlock)" }, action: "redeem", + hidden: true, }, ], },