Disable unreachable endpoints (#9713)

This commit is contained in:
Jaco 2023-07-20 10:42:36 +03:00 committed by GitHub
parent 914a80bd01
commit 7a600636af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View File

@ -72,9 +72,9 @@ describe('check endpoints', (): void => {
websocket.onmessage = (message: { data: string }): void => {
try {
const result = (JSON.parse(message.data) as { result: string }).result;
const result = (JSON.parse(message.data) as { result?: string }).result;
assert(result.startsWith('0x'), 'Invalid response');
assert(result?.startsWith('0x'), 'Invalid/non-hex response');
resolve(result);
} catch (e) {
reject(e);

View File

@ -290,7 +290,7 @@ export const prodChains: Omit<EndpointOption, 'teleport'>[] = [
{
info: 'kusari',
providers: {
Swapdex: 'wss://ws.kusari.network'
// Swapdex: 'wss://ws.kusari.network' // https://github.com/polkadot-js/apps/issues/9712
},
text: 'Kusari',
ui: {
@ -421,7 +421,7 @@ export const prodChains: Omit<EndpointOption, 'teleport'>[] = [
{
info: 'sherpax',
providers: {
ChainX: 'wss://mainnet.sherpax.io'
// ChainX: 'wss://mainnet.sherpax.io' // https://github.com/polkadot-js/apps/issues/9712
},
text: 'SherpaX',
ui: {

View File

@ -230,7 +230,7 @@ export const prodParasKusama: Omit<EndpointOption, 'teleport'>[] = [
// GMorDieDAO: 'wss://kusama.gmordie.com', // https://github.com/polkadot-js/apps/issues/8457
// 'GM Intern': 'wss://intern.gmordie.com', // https://github.com/polkadot-js/apps/issues/9381
// TerraBioDAO: 'wss://ws-node-gm.terrabiodao.org', // https://github.com/polkadot-js/apps/issues/8867
Leemo: 'wss://leemo.gmordie.com',
// Leemo: 'wss://leemo.gmordie.com', // https://github.com/polkadot-js/apps/issues/9712
'bLd Nodes': 'wss://ws.gm.bldnodes.org',
'light client': 'light://substrate-connect/kusama/gm'
},

View File

@ -139,8 +139,8 @@ export const testChains: Omit<EndpointOption, 'teleport'>[] = [
{
info: 'cere',
providers: {
'Cere Network': 'wss://archive.testnet.cere.network/ws',
'Republic Crypto | Runtime': 'wss://testnet.cere-archive.republiccrypto-runtime.com:444'
// 'Cere Network': 'wss://archive.testnet.cere.network/ws' // https://github.com/polkadot-js/apps/issues/9712
// 'Republic Crypto | Runtime': 'wss://testnet.cere-archive.republiccrypto-runtime.com:444' // https://github.com/polkadot-js/apps/issues/9712
},
text: 'Cere Network Testnet',
ui: {

View File

@ -220,7 +220,7 @@ export const testParasRococo: Omit<EndpointOption, 'teleport'>[] = [
info: 'rococoHydraDX',
paraId: 2034,
providers: {
'Galactic Council': 'wss://rococo-hydradx-rpc.hydration.dev'
// 'Galactic Council': 'wss://rococo-hydradx-rpc.hydration.dev' // https://github.com/polkadot-js/apps/issues/9712
},
text: 'HydraDX',
ui: {

View File

@ -187,7 +187,7 @@ export const testRelayWestend: EndpointOption = {
LuckyFriday: 'wss://rpc-westend.luckyfriday.io',
OnFinality: 'wss://westend.api.onfinality.io/public-ws',
Parity: 'wss://westend-rpc.polkadot.io',
RadiumBlock: 'wss://westend.public.curie.radiumblock.co/ws',
// RadiumBlock: 'wss://westend.public.curie.radiumblock.co/ws', // https://github.com/polkadot-js/apps/issues/9712
Stakeworld: 'wss://wnd-rpc.stakeworld.io',
'light client': 'light://substrate-connect/westend'
},