From 47b81188d4aee25e938df5d18ea65eb1274a7c16 Mon Sep 17 00:00:00 2001 From: Edd Date: Fri, 3 Mar 2023 12:20:41 +0000 Subject: [PATCH] fix(explorer): update vega_networks for all explorer envs (#3078) --- apps/explorer/.env | 2 +- apps/explorer/.env.capsule | 2 -- apps/explorer/.env.devnet | 2 -- apps/explorer/.env.mainnet | 2 -- apps/explorer/.env.mirror | 2 -- apps/explorer/.env.sandbox | 1 - apps/explorer/.env.stagnet1 | 1 - apps/explorer/.env.stagnet3 | 2 -- apps/explorer/.env.testnet | 5 +---- apps/explorer/.env.validator-testnet | 2 -- apps/explorer/.env.vegacapsule | 1 - 11 files changed, 2 insertions(+), 20 deletions(-) diff --git a/apps/explorer/.env b/apps/explorer/.env index 4acbd7474..ee3a6926f 100644 --- a/apps/explorer/.env +++ b/apps/explorer/.env @@ -1,7 +1,7 @@ NX_TENDERMINT_URL=https://tm.n00.stagnet3.vega.xyz NX_TENDERMINT_WEBSOCKET_URL=wss://tm.n00.stagnet3.vega.xyz/websocket NX_VEGA_CONFIG_URL=https://static.vega.xyz/assets/stagnet3-network.json -NX_VEGA_NETWORKS={\"MAINNET"\:\"https://explorer.vega.xyz"\,\"TESTNET\":\"https://explorer.fairground.wtf\"} +NX_VEGA_NETWORKS='{"SANDBOX":"https://sandbox.explorer.vega.xyz","STAGNET1":"https://stagnet1.token.vega.xyz", "STAGNET3":"https://stagnet3.explorer.vega.xyz","VALIDATOR_TESTNET":"https://validator-testnet.fairground.wtf","TESTNET":"https://token.fairground.wtf","MAINNET":"https://token.vega.xyz"}' NX_VEGA_ENV=STAGNET3 NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions NX_HOSTED_WALLET_URL=https://wallet.testnet.vega.xyz diff --git a/apps/explorer/.env.capsule b/apps/explorer/.env.capsule index 5a259f1ae..eda61b750 100644 --- a/apps/explorer/.env.capsule +++ b/apps/explorer/.env.capsule @@ -1,9 +1,7 @@ # App configuration variables NX_TENDERMINT_URL=http://localhost:26617 NX_TENDERMINT_WEBSOCKET_URL=wss://localhost:26617/websocket -NX_VEGA_NETWORKS={\"MAINNET"\:\"https://explorer.vega.xyz"\,\"TESTNET\":\"https://explorer.fairground.wtf\"} NX_VEGA_ENV=CUSTOM -NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions NX_ETHERSCAN_URL=https://sepolia.etherscan.io # App flags diff --git a/apps/explorer/.env.devnet b/apps/explorer/.env.devnet index 0d2362971..8c965abac 100644 --- a/apps/explorer/.env.devnet +++ b/apps/explorer/.env.devnet @@ -2,9 +2,7 @@ NX_TENDERMINT_URL=https://tm.be.devnet1.vega.xyz/tm NX_TENDERMINT_WEBSOCKET_URL=wss://be.devnet1.vega.xyz/websocket NX_VEGA_CONFIG_URL=https://static.vega.xyz/assets/devnet-network.json -NX_VEGA_NETWORKS={\"MAINNET"\:\"https://explorer.vega.xyz"\,\"TESTNET\":\"https://explorer.fairground.wtf\"} NX_VEGA_ENV=DEVNET -NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions NX_BLOCK_EXPLORER=https://be.devnet1.vega.xyz/rest NX_ETHERSCAN_URL=https://sepolia.etherscan.io NX_VEGA_GOVERNANCE_URL=https://dev.token.vega.xyz diff --git a/apps/explorer/.env.mainnet b/apps/explorer/.env.mainnet index 792785987..c9db6ca60 100644 --- a/apps/explorer/.env.mainnet +++ b/apps/explorer/.env.mainnet @@ -2,9 +2,7 @@ NX_TENDERMINT_URL=https://be.explorer.vega.xyz NX_TENDERMINT_WEBSOCKET_URL=wss://be.explorer.vega.xyz/websocket NX_VEGA_CONFIG_URL=https://static.vega.xyz/assets/mainnet-network.json -NX_VEGA_NETWORKS={\"MAINNET"\:\"https://explorer.vega.xyz"\,\"TESTNET\":\"https://explorer.fairground.wtf\"} NX_VEGA_ENV=MAINNET -NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions NX_BLOCK_EXPLORER=https://be.explorer.vega.xyz/rest/ NX_ETHERSCAN_URL=https://etherscan.io NX_VEGA_GOVERNANCE_URL=https://token.vega.xyz \ No newline at end of file diff --git a/apps/explorer/.env.mirror b/apps/explorer/.env.mirror index c58678949..282267035 100644 --- a/apps/explorer/.env.mirror +++ b/apps/explorer/.env.mirror @@ -2,9 +2,7 @@ NX_TENDERMINT_URL=https://tm.be.mainnet-mirror.vega.xyz NX_TENDERMINT_WEBSOCKET_URL=wss://be.mainnet-mirror.vega.xyz/websocket NX_VEGA_CONFIG_URL=https://static.vega.xyz/assets/mirror-network.json -NX_VEGA_NETWORKS='{"DEVNET":"https://dev.token.vega.xyz","STAGNET3":"https://stagnet3.token.vega.xyz","TESTNET":"https://token.fairground.wtf","MAINNET":"https://token.vega.xyz"}' NX_VEGA_ENV=MIRROR -NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions NX_BLOCK_EXPLORER=https://be.mainnet-mirror.vega.xyz/rest/ NX_ETHERSCAN_URL=https://sepolia.etherscan.io NX_VEGA_GOVERNANCE_URL=https://mainnet-mirror.token.vega.xyz diff --git a/apps/explorer/.env.sandbox b/apps/explorer/.env.sandbox index b83768983..83e351f43 100644 --- a/apps/explorer/.env.sandbox +++ b/apps/explorer/.env.sandbox @@ -5,7 +5,6 @@ NX_VEGA_EXPLORER_URL=https://sandbox.explorer.vega.xyz NX_VEGA_DOCS_URL=https://docs.vega.xyz/testnet NX_ETHEREUM_PROVIDER_URL=https://sepolia.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8 NX_ETHERSCAN_URL=https://sepolia.etherscan.io -NX_VEGA_NETWORKS={\"MAINNET"\:\"https://explorer.vega.xyz"\,\"TESTNET\":\"https://explorer.fairground.wtf\"} NX_TENDERMINT_URL=https://tm.sandbox.vega.xyz NX_TENDERMINT_WEBSOCKET_URL=wss://be.sandbox.vega.xyz/websocket NX_ETHERSCAN_URL=https://sepolia.etherscan.io diff --git a/apps/explorer/.env.stagnet1 b/apps/explorer/.env.stagnet1 index 638e6ff2a..d3d225505 100644 --- a/apps/explorer/.env.stagnet1 +++ b/apps/explorer/.env.stagnet1 @@ -4,7 +4,6 @@ NX_HOSTED_WALLET_URL=https://wallet.testnet.vega.xyz NX_VEGA_CONFIG_URL=https://static.vega.xyz/assets/stagnet1-network.json NX_VEGA_ENV=STAGNET1 NX_VEGA_EXPLORER_URL=https://stagnet1.explorer.vega.xyz -NX_VEGA_NETWORKS={\"MAINNET"\:\"https://explorer.vega.xyz"\,\"TESTNET\":\"https://explorer.fairground.wtf\"} NX_VEGA_TOKEN_URL=https://stagnet1.token.vega.xyz NX_VEGA_WALLET_URL=http://localhost:1789 NX_TENDERMINT_URL=https://tm.n01.stagnet1.vega.xyz diff --git a/apps/explorer/.env.stagnet3 b/apps/explorer/.env.stagnet3 index 475c7266b..41c944c12 100644 --- a/apps/explorer/.env.stagnet3 +++ b/apps/explorer/.env.stagnet3 @@ -1,9 +1,7 @@ NX_TENDERMINT_URL=https://tm.n00.stagnet3.vega.xyz NX_TENDERMINT_WEBSOCKET_URL=wss://be.stagnet3.vega.xyz/websocket NX_VEGA_CONFIG_URL=https://static.vega.xyz/assets/stagnet3-network.json -NX_VEGA_NETWORKS={\"MAINNET"\:\"https://explorer.vega.xyz"\,\"TESTNET\":\"https://explorer.fairground.wtf\"} NX_VEGA_ENV=STAGNET3 -NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions NX_BLOCK_EXPLORER=https://be.stagnet3.vega.xyz/rest NX_VEGA_GOVERNANCE_URL=https://stagnet3.token.vega.xyz NX_VEGA_REPO_URL=https://github.com/vegaprotocol/vega-dev-releases/releases/ diff --git a/apps/explorer/.env.testnet b/apps/explorer/.env.testnet index 2f30aad3a..6da08ce66 100644 --- a/apps/explorer/.env.testnet +++ b/apps/explorer/.env.testnet @@ -3,11 +3,8 @@ NX_TENDERMINT_URL=https://tm.be.testnet.vega.xyz NX_BLOCK_EXPLORER=https://be.testnet.vega.xyz/rest NX_TENDERMINT_WEBSOCKET_URL=wss://be.testnet.vega.xyz/websocket NX_VEGA_CONFIG_URL=https://static.vega.xyz/assets/testnet-network.json -NX_VEGA_NETWORKS={\"MAINNET"\:\"https://explorer.vega.xyz"\,\"TESTNET\":\"https://explorer.fairground.wtf\"} NX_VEGA_ENV=TESTNET -NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions NX_VEGA_URL=https://api.n07.testnet.vega.xyz/graphql NX_HOSTED_WALLET_URL=https://wallet.testnet.vega.xyz -NX_VEGA_NETWORKS={} NX_ETHERSCAN_URL=https://sepolia.etherscan.io -NX_VEGA_GOVERNANCE_URL=https://token.fairground.wtf +NX_VEGA_GOVERNANCE_URL=https://token.fairground.wtf \ No newline at end of file diff --git a/apps/explorer/.env.validator-testnet b/apps/explorer/.env.validator-testnet index ef82a458e..aa6f58e93 100644 --- a/apps/explorer/.env.validator-testnet +++ b/apps/explorer/.env.validator-testnet @@ -3,10 +3,8 @@ NX_VEGA_ENV=VALIDATOR_TESTNET NX_VEGA_CONFIG_URL=https://static.vega.xyz/assets/validator-testnet-network.json NX_VEGA_URL=https://api.validators-testnet.vega.xyz/graphql NX_VEGA_REST=https://api.validators-testnet.vega.xyz/ -NX_VEGA_NETWORKS='{"DEVNET":"https://dev.token.vega.xyz","STAGNET3":"https://stagnet3.token.vega.xyz","TESTNET":"https://token.fairground.wtf","MAINNET":"https://token.vega.xyz"}' NX_ETHEREUM_PROVIDER_URL=https://sepolia.infura.io/v3/4f846e79e13f44d1b51bbd7ed9edefb8 NX_ETHERSCAN_URL=https://sepolia.etherscan.io -NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions NX_VEGA_GOVERNANCE_URL=https://validator-testnet.governance.vega.xyz NX_TENDERMINT_URL=https://tm.be.validators-testnet.vega.xyz diff --git a/apps/explorer/.env.vegacapsule b/apps/explorer/.env.vegacapsule index fc0d93e4c..4cb46d092 100644 --- a/apps/explorer/.env.vegacapsule +++ b/apps/explorer/.env.vegacapsule @@ -2,6 +2,5 @@ NX_TENDERMINT_URL=http://localhost:26607/ NX_TENDERMINT_WEBSOCKET_URL=wss://localhost:26607/websocket NX_VEGA_ENV=CUSTOM -NX_GITHUB_FEEDBACK_URL=https://github.com/vegaprotocol/feedback/discussions NX_BLOCK_EXPLORER= NX_ETHERSCAN_URL=https://sepolia.etherscan.io