Skip to content

Commit 80f2cd8

Browse files
authored
Merge pull request #12 from unionlabs/mainnet-deploying
feat(explorer): trying adding mainnet
2 parents e75a3ff + f96602a commit 80f2cd8

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

.github/workflows/deploy-explorer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
env:
3838
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
3939
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_WORKERS_API_TOKEN }}
40-
run: npx --yes wrangler@latest pages --project-name="explorer-testnet-10" deploy result >> /tmp/explorer_deploy.txt
40+
run: npx --yes wrangler@latest pages --project-name="explorer" deploy result >> /tmp/explorer_deploy.txt
4141
- name: Set Deploy Output
4242
run: |
4343
{
@@ -74,4 +74,4 @@ jobs:
7474
env:
7575
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
7676
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_WORKERS_API_TOKEN }}
77-
run: npx --yes wrangler@latest pages --project-name="explorer-testnet-10" --branch="main" deploy result
77+
run: npx --yes wrangler@latest pages --project-name="explorer" --branch="main" deploy result

src/assets/chains/mainnet/union-testnet-10.json renamed to src/assets/chains/mainnet/union-mainnet.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"chain_name": "union",
33
"api": [
4-
"https://rest.rpc-node.union-testnet-10.union.build"
4+
"https://api.rpc-node.union-1.union.build"
55
],
66
"rpc": [
7-
"https://rpc.rpc-node.union-testnet-10.union.build"
7+
"https://rpc.rpc-node.union-1.union.build"
88
],
99
"sdk_version": "0.50.11",
1010
"addr_prefix": "union",

src/assets/chains/testnet/union-testnet-10.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"chain_name": "union",
33
"api": [
4-
"https://rest.rpc-node.union-testnet-10.union.build"
4+
"https://api.rpc-node.union-testnet-10.union.build"
55
],
66
"rpc": [
77
"https://rpc.rpc-node.union-testnet-10.union.build"

src/stores/useDashboard.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import { defineStore } from 'pinia';
22
import { get } from '../libs/http';
33
import { useBlockchain } from './useBlockchain';
44
import type { Asset } from '@ping-pub/chain-registry-client/dist/types';
5-
import unionChainConfig from '../assets/chains/testnet/union-testnet-10.json' with { type: 'json' };
6-
console.info(unionChainConfig)
75

86
export enum EndpointType {
97
rpc,

0 commit comments

Comments
 (0)