Skip to content

Commit 0c0931f

Browse files
committed
chore: remove pop network from the list of chains
1 parent da48a1f commit 0c0931f

File tree

4 files changed

+5
-18
lines changed

4 files changed

+5
-18
lines changed

FAUCETS.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ Phala PoC 5:
3030

3131
- https://wiki.phala.network/en-us/build/getting-started/deploy-contract/#claim-test-tokens
3232

33-
Pop Network:
34-
35-
- https://onboard.popnetwork.xyz/
36-
3733
T3RN t0rn:
3834

3935
- https://faucet.t0rn.io/

cypress/e2e/extension.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ interface Window {
77

88
describe('Signer extension flow on live networks', () => {
99
before(() => {
10-
cy.visit(`/instantiate/?rpc=wss://rpc1.paseo.popnetwork.xyz`);
10+
cy.visit(`/instantiate/?rpc=wss://testnet-passet-hub.polkadot.io`);
1111
});
1212

1313
it('connects to Rococo', () => {
14-
cy.contains('Connecting to wss://rpc1.paseo.popnetwork.xyz').should('not.exist', {
14+
cy.contains('Connecting to wss://testnet-passet-hub.polkadot.io').should('not.exist', {
1515
timeout: 25000,
1616
});
1717
});

src/constants/index.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ export const LOCAL = {
2020
rpc: CUSTOM_ENDPOINT ? (JSON.parse(CUSTOM_ENDPOINT) as string) : 'ws://127.0.0.1:9944',
2121
};
2222

23-
export const POP_NETWORK_TESTNET = {
24-
relay: 'Paseo',
25-
name: 'Pop Network Testnet',
26-
rpc: 'wss://rpc1.paseo.popnetwork.xyz',
27-
};
28-
2923
export const PASSET_HUB_TESTNET = {
3024
relay: 'Paseo',
3125
name: 'Passet Hub',
@@ -97,9 +91,7 @@ const ZEITGEIST_BATTERY_STATION = {
9791
};
9892

9993
export const TESTNETS_V6 = [
100-
...[PASSET_HUB_TESTNET, POP_NETWORK_TESTNET, WESTEND_ASSET_HUB].sort((a, b) =>
101-
a.name.localeCompare(b.name),
102-
),
94+
...[PASSET_HUB_TESTNET, WESTEND_ASSET_HUB].sort((a, b) => a.name.localeCompare(b.name)),
10395
LOCAL,
10496
];
10597

@@ -109,7 +101,6 @@ export const TESTNETS_V5 = [
109101
ASTAR_SHIBUYA,
110102
ALEPH_ZERO_TESTNET,
111103
PENDULUM_TESTNET,
112-
POP_NETWORK_TESTNET,
113104
ZEITGEIST_BATTERY_STATION,
114105
].sort((a, b) => a.name.localeCompare(b.name)),
115106
LOCAL,

src/ui/contexts/ApiContext.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useSearchParams } from 'react-router-dom';
66
import { web3Accounts, web3Enable, web3EnablePromise } from '@polkadot/extension-dapp';
77
import { WsProvider } from '@polkadot/api';
88
import { keyring } from '@polkadot/ui-keyring';
9-
import { LOCAL_STORAGE_KEY, POP_NETWORK_TESTNET } from '../../constants';
9+
import { LOCAL_STORAGE_KEY, PASSET_HUB_TESTNET } from '../../constants';
1010
import { ApiPromise, ApiState, ChainProperties, Account, Status, WeightV2 } from 'types';
1111
import { isValidWsUrl, isKeyringLoaded } from 'lib/util';
1212
import { useLocalStorage } from 'ui/hooks/useLocalStorage';
@@ -30,7 +30,7 @@ export const ApiContextProvider = ({ children }: React.PropsWithChildren<Partial
3030
const rpcUrl = searchParams.get('rpc');
3131
const [preferredEndpoint, setPreferredEndpoint] = useLocalStorage<string>(
3232
LOCAL_STORAGE_KEY.PREFERRED_ENDPOINT,
33-
POP_NETWORK_TESTNET.rpc,
33+
PASSET_HUB_TESTNET.rpc,
3434
);
3535
const [api, setApi] = useState({} as ApiPromise);
3636
const [endpoint, setEndpoint] = useState(preferredEndpoint);

0 commit comments

Comments
 (0)