Skip to content

Commit

Permalink
fix(fix): test
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilbe27 committed Sep 26, 2023
1 parent f430b84 commit a19ed43
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/indexer-nibi/src/heart-monitor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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 },
Expand Down
2 changes: 1 addition & 1 deletion packages/indexer-nibi/src/heart-monitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) {
Expand Down
2 changes: 1 addition & 1 deletion packages/nibijs/src/chain/useFaucet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/`
}

0 comments on commit a19ed43

Please sign in to comment.