From 063ae32f1435ec56a466542a16028cb737b9ffe8 Mon Sep 17 00:00:00 2001 From: Lukas Date: Tue, 26 Nov 2024 14:33:41 +0100 Subject: [PATCH] fix(explorer): test new deployment --- .github/workflows/deploy-explorer.yml | 2 +- .../chains/mainnet/union-testnet-9.json | 24 +++++++++++++++++++ .../chains/testnet/union-testnet-9.json | 24 +++++++++++++++++++ src/stores/useDashboard.ts | 2 +- 4 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 src/assets/chains/mainnet/union-testnet-9.json create mode 100644 src/assets/chains/testnet/union-testnet-9.json diff --git a/.github/workflows/deploy-explorer.yml b/.github/workflows/deploy-explorer.yml index 81d5038102..530ce1ed38 100644 --- a/.github/workflows/deploy-explorer.yml +++ b/.github/workflows/deploy-explorer.yml @@ -74,4 +74,4 @@ jobs: env: CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_WORKERS_API_TOKEN }} - run: npx --yes wrangler@latest pages --project-name="explorer" --branch="main" deploy result + run: npx --yes wrangler@latest pages --project-name="explorer-testnet-9" --branch="main" deploy result diff --git a/src/assets/chains/mainnet/union-testnet-9.json b/src/assets/chains/mainnet/union-testnet-9.json new file mode 100644 index 0000000000..d788ecdb8a --- /dev/null +++ b/src/assets/chains/mainnet/union-testnet-9.json @@ -0,0 +1,24 @@ +{ + "chain_name": "union", + "api": [ + "https://rest-testnet-9-cors-proxy.unionlabs.workers.dev/" + ], + "rpc": [ + "https://rpc.union-testnet-9.cor.systems" + ], + "sdk_version": "0.47.0", + "addr_prefix": "union", + "min_tx_fee": "0", + "coin_type": "1337", + "theme_color": "#A0ECFD", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/uniontestnet/images/union.png", + "assets": [ + { + "symbol": "UNO", + "base": "uuno", + "exponent": 9, + "coingecko_id": "uno", + "logo": "https://raw.githubusercontent.com/Agoric/agoric-sdk/master/packages/wallet/ui/public/tokens/BLD.svg" + } + ] +} \ No newline at end of file diff --git a/src/assets/chains/testnet/union-testnet-9.json b/src/assets/chains/testnet/union-testnet-9.json new file mode 100644 index 0000000000..d788ecdb8a --- /dev/null +++ b/src/assets/chains/testnet/union-testnet-9.json @@ -0,0 +1,24 @@ +{ + "chain_name": "union", + "api": [ + "https://rest-testnet-9-cors-proxy.unionlabs.workers.dev/" + ], + "rpc": [ + "https://rpc.union-testnet-9.cor.systems" + ], + "sdk_version": "0.47.0", + "addr_prefix": "union", + "min_tx_fee": "0", + "coin_type": "1337", + "theme_color": "#A0ECFD", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/testnets/uniontestnet/images/union.png", + "assets": [ + { + "symbol": "UNO", + "base": "uuno", + "exponent": 9, + "coingecko_id": "uno", + "logo": "https://raw.githubusercontent.com/Agoric/agoric-sdk/master/packages/wallet/ui/public/tokens/BLD.svg" + } + ] +} \ No newline at end of file diff --git a/src/stores/useDashboard.ts b/src/stores/useDashboard.ts index 230723323c..5095af2f0f 100644 --- a/src/stores/useDashboard.ts +++ b/src/stores/useDashboard.ts @@ -2,7 +2,7 @@ import { defineStore } from 'pinia'; import { get } from '../libs/http'; import { useBlockchain } from './useBlockchain'; import type { Asset } from '@ping-pub/chain-registry-client/dist/types'; -import unionChainConfig from '../assets/chains/testnet/union-testnet-8.json' with { type: 'json' }; +import unionChainConfig from '../assets/chains/testnet/union-testnet-9.json' with { type: 'json' }; console.info(unionChainConfig) export enum EndpointType {