From 9a940b238fed36f9ff7dd9ed1404dbdfc2258295 Mon Sep 17 00:00:00 2001 From: Jaco Date: Fri, 1 Sep 2023 08:27:23 +0300 Subject: [PATCH] Disable unreachable endpoints (#9839) --- packages/apps-config/src/endpoints/productionRelayPolkadot.ts | 4 ++-- packages/page-runtime/src/Runtime/Results.tsx | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/apps-config/src/endpoints/productionRelayPolkadot.ts b/packages/apps-config/src/endpoints/productionRelayPolkadot.ts index f589e9e579..748617eda7 100644 --- a/packages/apps-config/src/endpoints/productionRelayPolkadot.ts +++ b/packages/apps-config/src/endpoints/productionRelayPolkadot.ts @@ -201,8 +201,8 @@ export const prodParasPolkadot: Omit[] = [ providers: { Darwinia: 'wss://rpc.darwinia.network', 'Darwinia Community': 'wss://darwinia-rpc.darwiniacommunitydao.xyz', - Dwellir: 'wss://darwinia-rpc.dwellir.com', - OnFinality: 'wss://darwinia2.api.onfinality.io/public-ws' + Dwellir: 'wss://darwinia-rpc.dwellir.com' + // OnFinality: 'wss://darwinia2.api.onfinality.io/public-ws' // https://github.com/polkadot-js/apps/issues/9838 }, text: 'Darwinia2', ui: { diff --git a/packages/page-runtime/src/Runtime/Results.tsx b/packages/page-runtime/src/Runtime/Results.tsx index 9cacb314e7..5b34c08171 100644 --- a/packages/page-runtime/src/Runtime/Results.tsx +++ b/packages/page-runtime/src/Runtime/Results.tsx @@ -17,6 +17,9 @@ function Results ({ results }: Props): React.ReactElement | null { return null; } + // DEEBUG + // console.error(results[results.length - 1].result?.toHex()); + return (
{results.map(({ def: { method, section, type }, error, id, result }): React.ReactNode => (