From 97e018dab9a44bfc06a958aabf193c69849b0858 Mon Sep 17 00:00:00 2001 From: jas2212 <93518923+AbbasAliLokhandwala@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:21:00 +0530 Subject: [PATCH] fix: Change urls from fetchub to mintscan (#338) Co-authored-by: jaswinder.khartri@fetch.ai Co-authored-by: agent-dominatrix <128386379+agent-dominatrix@users.noreply.github.com> --- packages/fetch-extension/src/config.ts | 4 ++-- .../src/pages/activity/gov-proposals/activity-row.tsx | 4 +--- .../src/pages/activity/native/activity-row.tsx | 5 +---- packages/fetch-extension/src/pages/bridge/bridge-history.tsx | 3 +-- .../src/pages/validator-list/my-validator-card/index.tsx | 4 ++-- .../src/pages/validator-list/validator-card/index.tsx | 4 ++-- .../src/pages/validator/validator-details/index.tsx | 4 ++-- 7 files changed, 11 insertions(+), 17 deletions(-) diff --git a/packages/fetch-extension/src/config.ts b/packages/fetch-extension/src/config.ts index 9539393b2c..d12df0b075 100644 --- a/packages/fetch-extension/src/config.ts +++ b/packages/fetch-extension/src/config.ts @@ -55,7 +55,7 @@ export const EmbedChainInfos: ChainInfo[] = [ ], features: ["cosmwasm"], walletUrlForStaking: "https://browse-fetchhub.fetch.ai/validators", - govUrl: "https://fetchstation.azoyalabs.com/mainnet/governance/", + govUrl: "https://www.mintscan.io/fetchai/proposals/", }, { rpc: "https://mainnet.infura.io/v3/f40158f0c03842f5a18e409ffe09192c", @@ -2695,7 +2695,7 @@ export const EmbedChainInfos: ChainInfo[] = [ ], features: ["cosmwasm"], walletUrlForStaking: "https://browse-dorado.fetch.ai/validators", - govUrl: "https://fetchstation.azoyalabs.com/dorado/governance/", + govUrl: "https://explore-dorado.fetch.ai/proposals/", }, ]; diff --git a/packages/fetch-extension/src/pages/activity/gov-proposals/activity-row.tsx b/packages/fetch-extension/src/pages/activity/gov-proposals/activity-row.tsx index 52a5a824c4..0f52871b1b 100644 --- a/packages/fetch-extension/src/pages/activity/gov-proposals/activity-row.tsx +++ b/packages/fetch-extension/src/pages/activity/gov-proposals/activity-row.tsx @@ -43,9 +43,7 @@ export const ActivityRow = ({ node }: { node: any }) => { const { status, id } = node.transaction; return ( diff --git a/packages/fetch-extension/src/pages/activity/native/activity-row.tsx b/packages/fetch-extension/src/pages/activity/native/activity-row.tsx index 61c339c00b..fa18190ceb 100644 --- a/packages/fetch-extension/src/pages/activity/native/activity-row.tsx +++ b/packages/fetch-extension/src/pages/activity/native/activity-row.tsx @@ -149,10 +149,7 @@ export const ActivityRow = ({ node }: { node: any }) => { const { typeUrl } = node.transaction.messages.nodes[0]; return ( diff --git a/packages/fetch-extension/src/pages/bridge/bridge-history.tsx b/packages/fetch-extension/src/pages/bridge/bridge-history.tsx index 202d47d36f..b191f4d9d1 100644 --- a/packages/fetch-extension/src/pages/bridge/bridge-history.tsx +++ b/packages/fetch-extension/src/pages/bridge/bridge-history.tsx @@ -18,8 +18,7 @@ export const proposalOptions = { ProposalFailed: "PROPOSAL_STATUS_FAILED", }; -const FETCHSTATION_TXN_URL = - "https://fetchstation.azoyalabs.com/mainnet/explorer/transactions/"; +const FETCHSTATION_TXN_URL = "https://www.mintscan.io/fetchai/tx/"; const ETHERSCAN_TXN_URL = "https://etherscan.io/tx/"; export const BridgeHistoryView: FunctionComponent = observer(() => { diff --git a/packages/fetch-extension/src/pages/validator-list/my-validator-card/index.tsx b/packages/fetch-extension/src/pages/validator-list/my-validator-card/index.tsx index 79c86ef9ff..3aa779144c 100644 --- a/packages/fetch-extension/src/pages/validator-list/my-validator-card/index.tsx +++ b/packages/fetch-extension/src/pages/validator-list/my-validator-card/index.tsx @@ -8,8 +8,8 @@ import { CHAIN_ID_DORADO, CHAIN_ID_FETCHHUB } from "../../../config.ui.var"; import styleValidators from "./validators.module.scss"; export const URL: { [key in string]: string } = { - [CHAIN_ID_DORADO]: "https://fetchstation.azoyalabs.com/dorado/validators", - [CHAIN_ID_FETCHHUB]: "https://fetchstation.azoyalabs.com/mainnet/validators", + [CHAIN_ID_DORADO]: "https://explore-dorado.fetch.ai/validators", + [CHAIN_ID_FETCHHUB]: "https://www.mintscan.io/fetchai/validators", }; export const MyValidatorCard = ({ diff --git a/packages/fetch-extension/src/pages/validator-list/validator-card/index.tsx b/packages/fetch-extension/src/pages/validator-list/validator-card/index.tsx index 774c29bacc..a9626c787f 100644 --- a/packages/fetch-extension/src/pages/validator-list/validator-card/index.tsx +++ b/packages/fetch-extension/src/pages/validator-list/validator-card/index.tsx @@ -8,8 +8,8 @@ import { CHAIN_ID_DORADO, CHAIN_ID_FETCHHUB } from "../../../config.ui.var"; import { CoinPretty } from "@keplr-wallet/unit"; export const URL: { [key in string]: string } = { - [CHAIN_ID_DORADO]: "https://fetchstation.azoyalabs.com/dorado/validators", - [CHAIN_ID_FETCHHUB]: "https://fetchstation.azoyalabs.com/mainnet/validators", + [CHAIN_ID_DORADO]: "https://explore-dorado.fetch.ai/validators", + [CHAIN_ID_FETCHHUB]: "https://www.mintscan.io/fetchai/validators", }; export const ValidatorCard = ({ diff --git a/packages/fetch-extension/src/pages/validator/validator-details/index.tsx b/packages/fetch-extension/src/pages/validator/validator-details/index.tsx index 6e84562489..2c37578e33 100644 --- a/packages/fetch-extension/src/pages/validator/validator-details/index.tsx +++ b/packages/fetch-extension/src/pages/validator/validator-details/index.tsx @@ -9,8 +9,8 @@ import { useNavigate } from "react-router"; import { useNotification } from "@components/notification"; export const URL: { [key in string]: string } = { - [CHAIN_ID_DORADO]: "https://fetchstation.azoyalabs.com/dorado/validators", - [CHAIN_ID_FETCHHUB]: "https://fetchstation.azoyalabs.com/mainnet/validators", + [CHAIN_ID_DORADO]: "https://explore-dorado.fetch.ai/validators", + [CHAIN_ID_FETCHHUB]: "https://www.mintscan.io/fetchai/validators", }; export const ValidatorDetails = ({