From 0c0931ffd586a154306fcd82b0065a8ee24381fd Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 14 Oct 2025 09:32:01 +0200 Subject: [PATCH 1/2] chore: remove pop network from the list of chains --- FAUCETS.md | 4 ---- cypress/e2e/extension.spec.ts | 4 ++-- src/constants/index.ts | 11 +---------- src/ui/contexts/ApiContext.tsx | 4 ++-- 4 files changed, 5 insertions(+), 18 deletions(-) diff --git a/FAUCETS.md b/FAUCETS.md index 0a7cbf51..bcea3305 100644 --- a/FAUCETS.md +++ b/FAUCETS.md @@ -30,10 +30,6 @@ Phala PoC 5: - https://wiki.phala.network/en-us/build/getting-started/deploy-contract/#claim-test-tokens -Pop Network: - -- https://onboard.popnetwork.xyz/ - T3RN t0rn: - https://faucet.t0rn.io/ diff --git a/cypress/e2e/extension.spec.ts b/cypress/e2e/extension.spec.ts index 011f4b96..813df604 100644 --- a/cypress/e2e/extension.spec.ts +++ b/cypress/e2e/extension.spec.ts @@ -7,11 +7,11 @@ interface Window { describe('Signer extension flow on live networks', () => { before(() => { - cy.visit(`/instantiate/?rpc=wss://rpc1.paseo.popnetwork.xyz`); + cy.visit(`/instantiate/?rpc=wss://testnet-passet-hub.polkadot.io`); }); it('connects to Rococo', () => { - cy.contains('Connecting to wss://rpc1.paseo.popnetwork.xyz').should('not.exist', { + cy.contains('Connecting to wss://testnet-passet-hub.polkadot.io').should('not.exist', { timeout: 25000, }); }); diff --git a/src/constants/index.ts b/src/constants/index.ts index 67bfca58..781eb90f 100644 --- a/src/constants/index.ts +++ b/src/constants/index.ts @@ -20,12 +20,6 @@ export const LOCAL = { rpc: CUSTOM_ENDPOINT ? (JSON.parse(CUSTOM_ENDPOINT) as string) : 'ws://127.0.0.1:9944', }; -export const POP_NETWORK_TESTNET = { - relay: 'Paseo', - name: 'Pop Network Testnet', - rpc: 'wss://rpc1.paseo.popnetwork.xyz', -}; - export const PASSET_HUB_TESTNET = { relay: 'Paseo', name: 'Passet Hub', @@ -97,9 +91,7 @@ const ZEITGEIST_BATTERY_STATION = { }; export const TESTNETS_V6 = [ - ...[PASSET_HUB_TESTNET, POP_NETWORK_TESTNET, WESTEND_ASSET_HUB].sort((a, b) => - a.name.localeCompare(b.name), - ), + ...[PASSET_HUB_TESTNET, WESTEND_ASSET_HUB].sort((a, b) => a.name.localeCompare(b.name)), LOCAL, ]; @@ -109,7 +101,6 @@ export const TESTNETS_V5 = [ ASTAR_SHIBUYA, ALEPH_ZERO_TESTNET, PENDULUM_TESTNET, - POP_NETWORK_TESTNET, ZEITGEIST_BATTERY_STATION, ].sort((a, b) => a.name.localeCompare(b.name)), LOCAL, diff --git a/src/ui/contexts/ApiContext.tsx b/src/ui/contexts/ApiContext.tsx index 91fce6a3..82f493e5 100644 --- a/src/ui/contexts/ApiContext.tsx +++ b/src/ui/contexts/ApiContext.tsx @@ -6,7 +6,7 @@ import { useSearchParams } from 'react-router-dom'; import { web3Accounts, web3Enable, web3EnablePromise } from '@polkadot/extension-dapp'; import { WsProvider } from '@polkadot/api'; import { keyring } from '@polkadot/ui-keyring'; -import { LOCAL_STORAGE_KEY, POP_NETWORK_TESTNET } from '../../constants'; +import { LOCAL_STORAGE_KEY, PASSET_HUB_TESTNET } from '../../constants'; import { ApiPromise, ApiState, ChainProperties, Account, Status, WeightV2 } from 'types'; import { isValidWsUrl, isKeyringLoaded } from 'lib/util'; import { useLocalStorage } from 'ui/hooks/useLocalStorage'; @@ -30,7 +30,7 @@ export const ApiContextProvider = ({ children }: React.PropsWithChildren( LOCAL_STORAGE_KEY.PREFERRED_ENDPOINT, - POP_NETWORK_TESTNET.rpc, + PASSET_HUB_TESTNET.rpc, ); const [api, setApi] = useState({} as ApiPromise); const [endpoint, setEndpoint] = useState(preferredEndpoint); From ea56924d14acced517df7a5418ad69b142ac0b74 Mon Sep 17 00:00:00 2001 From: AlexD10S Date: Tue, 14 Oct 2025 15:53:16 +0200 Subject: [PATCH 2/2] fix: test url --- cypress/e2e/extension.spec.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cypress/e2e/extension.spec.ts b/cypress/e2e/extension.spec.ts index 813df604..308fa8ac 100644 --- a/cypress/e2e/extension.spec.ts +++ b/cypress/e2e/extension.spec.ts @@ -10,16 +10,14 @@ describe('Signer extension flow on live networks', () => { cy.visit(`/instantiate/?rpc=wss://testnet-passet-hub.polkadot.io`); }); - it('connects to Rococo', () => { + it('connects to PassetHub', () => { cy.contains('Connecting to wss://testnet-passet-hub.polkadot.io').should('not.exist', { timeout: 25000, }); }); - it('Rococo is selected in the network connection dropdown', () => { - cy.get('.dropdown.chain') - .find('.dropdown__single-value') - .should('contain', 'Pop Network Testnet'); + it('PassetHub is selected in the network connection dropdown', () => { + cy.get('.dropdown.chain').find('.dropdown__single-value').should('contain', 'Passet Hub'); }); it('Displays help text for no extension installed', () => {