diff --git a/packages/apps-config/src/endpoints/index.ts b/packages/apps-config/src/endpoints/index.ts index 4e960b5ed3..939ad6896a 100644 --- a/packages/apps-config/src/endpoints/index.ts +++ b/packages/apps-config/src/endpoints/index.ts @@ -8,7 +8,7 @@ import { createCustom, createDev, createOwn } from './development'; import { createProduction } from './production'; import { createProductionRelays } from './productionRelays'; import { createTesting } from './testing'; -import { createTestingRelays } from './testingRelays'; +import { createRococoRelays, createWestendRelays } from './testingRelays'; export { CUSTOM_ENDPOINT_KEY } from './development'; @@ -31,12 +31,21 @@ export function createWsEndpoints (t: TFunction, firstOnly?: boolean): LinkOptio textBy: '', value: '' }, - ...createTestingRelays(t, firstOnly), + ...createRococoRelays(t, firstOnly), { isDisabled: false, isHeader: true, isSpaced: true, - text: t('rpc.header.live', 'Live networks', { ns: 'apps-config' }), + text: t('rpc.header.rococo.relay', 'Rococo test & parachains', { ns: 'apps-config' }), + textBy: '', + value: '' + }, + ...createWestendRelays(t, firstOnly), + { + isDisabled: false, + isHeader: true, + isSpaced: true, + text: t('rpc.header.westend.relay', 'Westend test & parachains', { ns: 'apps-config' }), textBy: '', value: '' }, diff --git a/packages/apps-config/src/endpoints/testingRelayRococo.ts b/packages/apps-config/src/endpoints/testingRelayRococo.ts index 89a7a4009a..9414e1ce76 100644 --- a/packages/apps-config/src/endpoints/testingRelayRococo.ts +++ b/packages/apps-config/src/endpoints/testingRelayRococo.ts @@ -429,8 +429,7 @@ export function createRococo (t: TFunction): EndpointOption { }, { info: 'rococoZeitgeist', - isDisabled: true, // Rococo reset - paraId: 9123, + paraId: 2040, text: t('rpc.rococo.zeitgeist', 'Zeitgeist PC', { ns: 'apps-config' }), providers: { Zeitgeist: 'wss://roc.zeitgeist.pm' diff --git a/packages/apps-config/src/endpoints/testingRelays.ts b/packages/apps-config/src/endpoints/testingRelays.ts index 6410894f85..91b34d7fa7 100644 --- a/packages/apps-config/src/endpoints/testingRelays.ts +++ b/packages/apps-config/src/endpoints/testingRelays.ts @@ -8,9 +8,10 @@ import { createRococo } from './testingRelayRococo'; import { createWestend } from './testingRelayWestend'; import { expandEndpoints } from './util'; -export function createTestingRelays (t: TFunction, firstOnly?: boolean): LinkOption[] { - return expandEndpoints(t, [ - createRococo(t), - createWestend(t) - ], firstOnly); +export function createRococoRelays (t: TFunction, firstOnly?: boolean): LinkOption[] { + return expandEndpoints(t, [createRococo(t)], firstOnly); +} + +export function createWestendRelays (t: TFunction, firstOnly?: boolean): LinkOption[] { + return expandEndpoints(t, [createWestend(t)], firstOnly); }