From 1a99cec6a064b79f886c3a10353533bf3b913c96 Mon Sep 17 00:00:00 2001 From: Jaco Date: Wed, 8 Feb 2023 16:21:55 +0200 Subject: [PATCH] Disable unreachable endpoints (#8979) --- .../src/endpoints/productionRelayKusama.ts | 13 ++++-- .../src/endpoints/productionRelayPolkadot.ts | 45 ++++++++++++++----- 2 files changed, 42 insertions(+), 16 deletions(-) diff --git a/packages/apps-config/src/endpoints/productionRelayKusama.ts b/packages/apps-config/src/endpoints/productionRelayKusama.ts index 177d8203e3..b140fcb79e 100644 --- a/packages/apps-config/src/endpoints/productionRelayKusama.ts +++ b/packages/apps-config/src/endpoints/productionRelayKusama.ts @@ -485,8 +485,10 @@ export const prodParasKusama: EndpointOption[] = [ info: 'heiko', paraId: 2085, providers: { - OnFinality: 'wss://parallel-heiko.api.onfinality.io/public-ws', - // https://github.com/polkadot-js/apps/issues/8355, then enabled in https://github.com/polkadot-js/apps/pull/8413, then broken in https://github.com/polkadot-js/apps/issues/8421, reenabled for PolkadotJS + // This is a possible false positive since OnFinality does not allow connections + // from non polkadot.js.org urls - however until resolved, this needs to be disabled + // since we cannot manually check the urls twice daily when they are reported + // OnFinality: 'wss://parallel-heiko.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8973 Parallel: 'wss://heiko-rpc.parallel.fi' }, text: 'Parallel Heiko', @@ -526,7 +528,7 @@ export const prodParasKusama: EndpointOption[] = [ paraId: 2102, providers: { 'Kylin Network': 'wss://kusama.kylin-node.co.uk', - OnFinality: 'wss://pichiu.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8867, reenabled for PolkadotJS + OnFinality: 'wss://pichiu.api.onfinality.io/public-ws' }, text: 'Pichiu', ui: { @@ -552,7 +554,10 @@ export const prodParasKusama: EndpointOption[] = [ info: 'quartz', paraId: 2095, providers: { - OnFinality: 'wss://quartz.api.onfinality.io/public-ws', // https://github.com/polkadot-js/apps/issues/8436 re-added added previously removed, still unreachable, reenabled for PolkadotJS + // This is a possible false positive since OnFinality does not allow connections + // from non polkadot.js.org urls - however until resolved, this needs to be disabled + // since we cannot manually check the urls twice daily when they are reported + // OnFinality: 'wss://quartz.api.onfinality.io/public-ws', // https://github.com/polkadot-js/apps/issues/8973 'Unique America': 'wss://us-ws-quartz.unique.network', 'Unique Asia': 'wss://asia-ws-quartz.unique.network', 'Unique Europe': 'wss://eu-ws-quartz.unique.network' diff --git a/packages/apps-config/src/endpoints/productionRelayPolkadot.ts b/packages/apps-config/src/endpoints/productionRelayPolkadot.ts index 9f108c1f9a..a5f261edc9 100644 --- a/packages/apps-config/src/endpoints/productionRelayPolkadot.ts +++ b/packages/apps-config/src/endpoints/productionRelayPolkadot.ts @@ -98,8 +98,11 @@ export const prodParasPolkadot: EndpointOption[] = [ info: 'bifrost', paraId: 2030, providers: { - Liebi: 'wss://hk.p.bifrost-rpc.liebi.com/ws', - OnFinality: 'wss://bifrost-polkadot.api.onfinality.io/public-ws' + Liebi: 'wss://hk.p.bifrost-rpc.liebi.com/ws' + // This is a possible false positive since OnFinality does not allow connections + // from non polkadot.js.org urls - however until resolved, this needs to be disabled + // since we cannot manually check the urls twice daily when they are reported + // OnFinality: 'wss://bifrost-polkadot.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8973 }, text: 'Bifrost', ui: { @@ -139,8 +142,11 @@ export const prodParasPolkadot: EndpointOption[] = [ info: 'clover', paraId: 2002, providers: { - Clover: 'wss://rpc-para.clover.finance', - OnFinality: 'wss://clover.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8355, then enabled in https://github.com/polkadot-js/apps/pull/8413, then broken in https://github.com/polkadot-js/apps/issues/8421, renenabled for PolkadotJS + Clover: 'wss://rpc-para.clover.finance' + // This is a possible false positive since OnFinality does not allow connections + // from non polkadot.js.org urls - however until resolved, this needs to be disabled + // since we cannot manually check the urls twice daily when they are reported + // OnFinality: 'wss://clover.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8973 }, text: 'Clover', ui: { @@ -166,8 +172,11 @@ export const prodParasPolkadot: EndpointOption[] = [ info: 'composableFinance', paraId: 2019, providers: { - Composable: 'wss://rpc.composable.finance', - OnFinality: 'wss://composable.api.onfinality.io/public-ws' + Composable: 'wss://rpc.composable.finance' + // This is a possible false positive since OnFinality does not allow connections + // from non polkadot.js.org urls - however until resolved, this needs to be disabled + // since we cannot manually check the urls twice daily when they are reported + // OnFinality: 'wss://composable.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8973 }, text: 'Composable Finance', ui: { @@ -219,8 +228,11 @@ export const prodParasPolkadot: EndpointOption[] = [ paraId: 2021, providers: { Dwellir: 'wss://efinity-rpc.dwellir.com', - Efinity: 'wss://rpc.efinity.io', - OnFinality: 'wss://efinity.api.onfinality.io/public-ws' + Efinity: 'wss://rpc.efinity.io' + // This is a possible false positive since OnFinality does not allow connections + // from non polkadot.js.org urls - however until resolved, this needs to be disabled + // since we cannot manually check the urls twice daily when they are reported + // OnFinality: 'wss://efinity.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8973 }, text: 'Efinity', ui: { @@ -288,8 +300,11 @@ export const prodParasPolkadot: EndpointOption[] = [ paraId: 2034, providers: { Dwellir: 'wss://hydradx-rpc.dwellir.com', - 'Galactic Council': 'wss://rpc.hydradx.cloud', - OnFinality: 'wss://hydradx.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8623, Renabled for PolkadotJS + 'Galactic Council': 'wss://rpc.hydradx.cloud' + // This is a possible false positive since OnFinality does not allow connections + // from non polkadot.js.org urls - however until resolved, this needs to be disabled + // since we cannot manually check the urls twice daily when they are reported + // OnFinality: 'wss://hydradx.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/8973 }, text: 'HydraDX', ui: { @@ -473,7 +488,10 @@ export const prodParasPolkadot: EndpointOption[] = [ info: 'parallel', paraId: 2012, providers: { - OnFinality: 'wss://parallel.api.onfinality.io/public-ws', // https://github.com/polkadot-js/apps/issues/8355, then enabled in https://github.com/polkadot-js/apps/pull/8413, then broken in https://github.com/polkadot-js/apps/issues/8421, reenabled for PolkadotJS + // This is a possible false positive since OnFinality does not allow connections + // from non polkadot.js.org urls - however until resolved, this needs to be disabled + // since we cannot manually check the urls twice daily when they are reported + // OnFinality: 'wss://parallel.api.onfinality.io/public-ws', // https://github.com/polkadot-js/apps/issues/8973 Parallel: 'wss://rpc.parallel.fi' }, text: 'Parallel', @@ -558,7 +576,10 @@ export const prodParasPolkadot: EndpointOption[] = [ info: 'unique', paraId: 2037, providers: { - OnFinality: 'wss://unique.api.onfinality.io/public-ws', + // This is a possible false positive since OnFinality does not allow connections + // from non polkadot.js.org urls - however until resolved, this needs to be disabled + // since we cannot manually check the urls twice daily when they are reported + // OnFinality: 'wss://unique.api.onfinality.io/public-ws', // https://github.com/polkadot-js/apps/issues/8973 'Unique America': 'wss://us-ws.unique.network/', 'Unique Asia': 'wss://asia-ws.unique.network/', 'Unique Europe': 'wss://eu-ws.unique.network/'