From a19ed43446b2c44162f870afd79064b98b546fcd Mon Sep 17 00:00:00 2001 From: Cameron Gilbert Date: Tue, 26 Sep 2023 10:45:41 -0400 Subject: [PATCH] fix(fix): test --- packages/indexer-nibi/src/heart-monitor.test.ts | 8 ++++---- packages/indexer-nibi/src/heart-monitor.ts | 2 +- packages/nibijs/src/chain/useFaucet.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/indexer-nibi/src/heart-monitor.test.ts b/packages/indexer-nibi/src/heart-monitor.test.ts index b4a0b629..d42866d7 100644 --- a/packages/indexer-nibi/src/heart-monitor.test.ts +++ b/packages/indexer-nibi/src/heart-monitor.test.ts @@ -25,8 +25,8 @@ describe("Heart Monitor constructor", () => { { name: "valid string", in: "abc123", expected: "abc123" }, { name: "chain", - in: { endptTm: "https://rpc.itn-1.nibiru.fi" }, - expected: "https://hm-graphql.itn-1.nibiru.fi/graphql", + in: { endptTm: "https://rpc.itn-2.nibiru.fi" }, + expected: "https://hm-graphql.itn-2.nibiru.fi/graphql", }, { name: "empty chain string", @@ -58,8 +58,8 @@ describe("gqlEndptFromTmRpc", () => { want: "https://hm-graphql.itn-2.nibiru.fi/graphql", }, { - in: "----rpc.itn-1.-----", - want: "https://hm-graphql.itn-1.nibiru.fi/graphql", + in: "----rpc.itn-2.-----", + want: "https://hm-graphql.itn-2.nibiru.fi/graphql", }, { in: "", want: null }, { in: "rpctestnet-nodots", want: null }, diff --git a/packages/indexer-nibi/src/heart-monitor.ts b/packages/indexer-nibi/src/heart-monitor.ts index a6fa6613..206e7ffb 100644 --- a/packages/indexer-nibi/src/heart-monitor.ts +++ b/packages/indexer-nibi/src/heart-monitor.ts @@ -192,7 +192,7 @@ export interface IHeartMonitor { * corresponds to a query function. */ export class HeartMonitor implements IHeartMonitor { gqlEndpt: string - defaultGqlEndpt = "https://hm-graphql.itn-2.nibiru.fi/query" + defaultGqlEndpt = "https://hm-graphql.devnet-2.nibiru.fi/query" subscriptionClient: Client constructor(gqlEndpt?: string | { endptTm: string }) { diff --git a/packages/nibijs/src/chain/useFaucet.ts b/packages/nibijs/src/chain/useFaucet.ts index 063b5c83..d0418539 100644 --- a/packages/nibijs/src/chain/useFaucet.ts +++ b/packages/nibijs/src/chain/useFaucet.ts @@ -59,6 +59,6 @@ export async function useFaucet({ */ export const faucetUrlFromChain = (chain: Chain) => { const parts = chainToParts(chain) - // e.g. https://faucet.itn-1.nibiru.fi/ + // e.g. https://faucet.itn-2.nibiru.fi/ return `https://faucet.${parts.shortName}-${parts.number}.nibiru.fi/` }