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..308fa8ac 100644 --- a/cypress/e2e/extension.spec.ts +++ b/cypress/e2e/extension.spec.ts @@ -7,19 +7,17 @@ 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', { + 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', () => { 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);