From 502e84b0255e152d29eec7944443dbc872af6ebc Mon Sep 17 00:00:00 2001 From: fewensa Date: Fri, 27 Feb 2026 05:07:31 +0000 Subject: [PATCH] Remove Crab chain configuration and endpoints --- client/src/utils/chains.js | 21 +-------------------- server/config/chains.js | 21 +-------------------- server/plugins/cron.js | 3 +-- 3 files changed, 3 insertions(+), 42 deletions(-) diff --git a/client/src/utils/chains.js b/client/src/utils/chains.js index e276941..3657bc6 100644 --- a/client/src/utils/chains.js +++ b/client/src/utils/chains.js @@ -1,23 +1,4 @@ const Chains = [ - { - "name": "crab", - "id": 44, - "endpoint": "https://crab-rpc.darwinia.network", - "contract": { - "signcribe": "0x57aa601a0377f5ab313c5a955ee874f5d495fc92", - "relayer": "0x114890eB7386F94eae410186F20968bFAf66142a", - "ormp": "0x13b2211a7cA45Db2808F6dB05557ce5347e3634e", - "oracle": "0xB49E82067a54b3E8c5D9Db2f378FdB6892C04D2E", - "multisig": "0x855275aC7Ea4cc4F324915b2Eb48839E447E04bD" - }, - "operator": { - "oracle": "0xc1A3FEE4132e9285f41F5389570fD9Fbbcb10a1D", - "relayer": "0x40C168503B9758540E18A79907F3Fd8678c13f03", - "warnBalance": 100, - }, - "symbol": "CRAB", - "scan": "https://crab.subscan.io", - }, { "name": "darwinia", "id": 46, @@ -214,4 +195,4 @@ function getAllChains() { return Chains; } -export { getAllChains, getChainById, getChainByName }; \ No newline at end of file +export { getAllChains, getChainById, getChainByName }; diff --git a/server/config/chains.js b/server/config/chains.js index 6fe2cb0..c19aa42 100644 --- a/server/config/chains.js +++ b/server/config/chains.js @@ -1,23 +1,4 @@ const Chains = [ - { - "name": "crab", - "id": 44, - "endpoint": "https://crab-rpc.darwinia.network", - "contract": { - "signcribe": "0x57aa601a0377f5ab313c5a955ee874f5d495fc92", - "relayer": "0x114890eB7386F94eae410186F20968bFAf66142a", - "ormp": "0x13b2211a7cA45Db2808F6dB05557ce5347e3634e", - "oracle": "0xB49E82067a54b3E8c5D9Db2f378FdB6892C04D2E", - "multisig": "0x855275aC7Ea4cc4F324915b2Eb48839E447E04bD" - }, - "operator": { - "oracle": "0xc1A3FEE4132e9285f41F5389570fD9Fbbcb10a1D", - "relayer": "0x40C168503B9758540E18A79907F3Fd8678c13f03", - "warnBalance": 100, - }, - "symbol": "CRAB", - "scan": "https://crab.subscan.io", - }, { "name": "darwinia", "id": 46, @@ -214,4 +195,4 @@ function getAllChains() { return Chains; } -export { getAllChains, getChainById, getChainByName }; \ No newline at end of file +export { getAllChains, getChainById, getChainByName }; diff --git a/server/plugins/cron.js b/server/plugins/cron.js index 95e4edc..af1c912 100644 --- a/server/plugins/cron.js +++ b/server/plugins/cron.js @@ -301,7 +301,6 @@ export default fp(async (fastify) => { const warns = []; const ponders = [ 'https://ormponder.darwinia.network/darwinia', - 'https://ormponder.darwinia.network/crab', 'https://ormponder.darwinia.network/arbitrum', 'https://ormponder.darwinia.network/ethereum', 'https://ormponder.darwinia.network/moonbeam', @@ -356,4 +355,4 @@ export default fp(async (fastify) => { fastify.log.error(error); }) } -}) \ No newline at end of file +})