From e51a03e5d7ef4fa092d1de6bde28860aa76f14f1 Mon Sep 17 00:00:00 2001 From: Kingsley <10992364+kingsleydon@users.noreply.github.com> Date: Sat, 7 Oct 2023 23:53:37 +0800 Subject: [PATCH] feat(app): migrate to self-hosted subsquid server (#339) --- apps/app/components/Delegation/Chart.tsx | 2 +- apps/app/config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app/components/Delegation/Chart.tsx b/apps/app/components/Delegation/Chart.tsx index 1e78583e..637ef42e 100644 --- a/apps/app/components/Delegation/Chart.tsx +++ b/apps/app/components/Delegation/Chart.tsx @@ -22,7 +22,7 @@ import { } from 'recharts' import RechartsTooltip from '../RechartsTooltip' -const days = 7 +const days = 14 const DelegationChart: FC<{ delegation: DelegationCommonFragment diff --git a/apps/app/config.ts b/apps/app/config.ts index fd8e37de..8d43ee03 100644 --- a/apps/app/config.ts +++ b/apps/app/config.ts @@ -6,7 +6,7 @@ export const KHALA_ENDPOINTS = [ 'wss://khala.api.onfinality.io/public-ws', ] export const KHALA_SUBSQUID_URL = - 'https://squid.subsquid.io/khala-computation/graphql' + 'https://subsquid.phala.network/khala-computation/graphql' export const khalaSubsquidClient = new GraphQLClient(KHALA_SUBSQUID_URL) export const PHALA_ENDPOINTS = [ 'wss://phala-rpc.dwellir.com',