From 65e1eaa48454e52b2999f3517614374cff1c7a16 Mon Sep 17 00:00:00 2001 From: Cameron Gilbert Date: Mon, 11 Dec 2023 10:14:50 -0500 Subject: [PATCH] Fix explorer url (#6) * Fix explorer url * Odd file * Update CI --- .github/workflows/deploy-preview.yml | 9 +++++---- .github/workflows/deploy-prod.yml | 9 +++++---- src/nibiru/index.ts | 4 ++-- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 1db1f35e52..ddc73c395c 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -11,8 +11,8 @@ jobs: - name: Set Node.js 16.x uses: actions/setup-node@v3 with: - node-version: 16.x - cache: "yarn" + node-version: 'lts/gallium' + cache: 'yarn' - name: Run install uses: borales/actions-yarn@v4 @@ -25,8 +25,9 @@ jobs: - uses: FirebaseExtended/action-hosting-deploy@v0 with: - repoToken: "${{ secrets.GITHUB_TOKEN }}" - firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_NIBIRU_CHAIN }}" + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_NIBIRU_CHAIN }}' projectId: nibiru-chain expires: 14d target: explorer + firebaseToolsVersion: '12.9.1' diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 29939ad355..3c4bd8025f 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -14,8 +14,8 @@ jobs: - name: Set Node.js 16.x uses: actions/setup-node@v3 with: - node-version: 16.x - cache: "yarn" + node-version: 'lts/gallium' + cache: 'yarn' - name: Run install uses: borales/actions-yarn@v4 @@ -28,8 +28,9 @@ jobs: - uses: FirebaseExtended/action-hosting-deploy@v0 with: - repoToken: "${{ secrets.GITHUB_TOKEN }}" - firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_NIBIRU_CHAIN }}" + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_NIBIRU_CHAIN }}' projectId: nibiru-chain channelId: live target: explorer + firebaseToolsVersion: '12.9.1' diff --git a/src/nibiru/index.ts b/src/nibiru/index.ts index c045e14a67..81363a9c54 100644 --- a/src/nibiru/index.ts +++ b/src/nibiru/index.ts @@ -1,8 +1,8 @@ import type { LocalConfig } from '@/stores'; const PLAYGROUND_NETWORKS = 'https://networks.play.nibiru.fi/ping-pub'; -const DEV_NETWORKS = 'https://networks.testnet.nibiru.fi/ping-pub'; -const ITN_NETWORKS = 'https://networks.itn.nibiru.fi/ping-pub'; +const DEV_NETWORKS = 'https://networks.devnet.nibiru.fi/ping-pub'; +const ITN_NETWORKS = 'https://networks.testnet.nibiru.fi/ping-pub'; const MAIN_NETWORK = 'https://networks.nibiru.fi/ping-pub'; export const getNetwork = async (url: string): Promise => {