Update Zeitgeist values (#5648)
* Update Zeitgeist values * Lint * Update text values
This commit is contained in:
parent
47b8abe3b1
commit
9c4bc85e4e
@ -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: ''
|
||||
},
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user