Sort Westend ids (#5387)

* Sort Westend ids

* Remove old parachains on Rococo
This commit is contained in:
Jaco 2021-05-29 07:48:59 +03:00 committed by GitHub
parent 5547320ce7
commit 44129fd98c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -31,6 +31,7 @@ export function createRococo (t: TFunction): EndpointOption {
// these are the base chains
{
info: 'rococoTick',
isDisabled: true, // Rococo reset
paraId: 100,
text: t('rpc.rococo.tick', 'Tick', { ns: 'apps-config' }),
providers: {
@ -39,6 +40,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoTrick',
isDisabled: true, // Rococo reset
paraId: 110,
text: t('rpc.rococo.trick', 'Trick', { ns: 'apps-config' }),
providers: {
@ -47,6 +49,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoTrack',
isDisabled: true, // Rococo reset
paraId: 120,
text: t('rpc.rococo.track', 'Track', { ns: 'apps-config' }),
providers: {
@ -55,6 +58,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoStatemint',
isDisabled: true, // Rococo reset
paraId: 1000,
text: t('rpc.rococo.statemint', 'Statemint', { ns: 'apps-config' }),
providers: {

View File

@ -39,6 +39,9 @@ export function createWestend (t: TFunction): EndpointOption {
Parity: 'wss://westend-shell-rpc.parity.io'
}
},
// (3) parachains with id, see Rococo (info here maps to the actual "named icon")
//
// NOTE: Added alphabetical based on chain name
{
info: 'moonshadow',
paraId: 2002,
@ -47,9 +50,6 @@ export function createWestend (t: TFunction): EndpointOption {
Purestake: 'wss://wss.moonshadow.testnet.moonbeam.network'
}
}
// (3) parachains with id, see Rococo (info here maps to the actual "named icon")
//
// NOTE: Added alphabetical based on chain name
]
};
}