feat(apps-config): jupiter & jupiter rococo (#4750)
1. add jupiter rococo config 2. update jupiter poa config
This commit is contained in:
parent
497deee9ce
commit
b8f22763ab
@ -33,6 +33,7 @@ import hydrate from './hydrate';
|
||||
import idavoll from './idavoll';
|
||||
import integritee from './integritee';
|
||||
import jupiter from './jupiter';
|
||||
import jupiterRococo from './jupiter-rococo';
|
||||
import kilt from './kilt';
|
||||
import kulupu from './kulupu';
|
||||
import laminar from './laminar';
|
||||
@ -92,7 +93,8 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
'hydra-dx': hydrate,
|
||||
idavoll,
|
||||
'integritee-parachain': integritee,
|
||||
jupiter,
|
||||
'jupiter-prep': jupiter,
|
||||
'jupiter-rococo': jupiterRococo,
|
||||
'kilt-parachain': kilt,
|
||||
kulupu,
|
||||
laminar,
|
||||
|
||||
22
packages/apps-config/src/api/spec/jupiter-rococo.ts
Normal file
22
packages/apps-config/src/api/spec/jupiter-rococo.ts
Normal file
@ -0,0 +1,22 @@
|
||||
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@polkadot/types/types';
|
||||
|
||||
// structs need to be in order
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
LookupSource: 'MultiAddress',
|
||||
Address: 'MultiAddress'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
@ -12,8 +12,24 @@ const definitions: OverrideBundleDefinition = {
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
LookupSource: 'MultiAddress',
|
||||
Address: 'MultiAddress',
|
||||
LookupSource: 'MultiAddress'
|
||||
FullIdentification: 'AccountId',
|
||||
AuthorityState: {
|
||||
_enum: [
|
||||
'Working',
|
||||
'Waiting'
|
||||
]
|
||||
},
|
||||
EraIndex: 'u32',
|
||||
ActiveEraInfo: {
|
||||
index: 'EraIndex',
|
||||
start: 'Option<u64>'
|
||||
},
|
||||
UnappliedSlash: {
|
||||
validator: 'AccountId',
|
||||
reporters: 'Vec<AccountId>'
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@ -141,8 +141,8 @@ export function createTesting (t: TFunction): LinkOption[] {
|
||||
info: 'jupiter',
|
||||
text: t('rpc.jupiter', 'Jupiter', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
Elara: 'wss://jupiter.elara.patract.io',
|
||||
Patract: 'wss://ws.jupiter.patract.cn'
|
||||
Elara: 'wss://jupiter-poa.elara.patract.io',
|
||||
Patract: 'wss://ws.jupiter-poa.patract.cn'
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@ -142,6 +142,14 @@ export function createRococo (t: TFunction): LinkOption[] {
|
||||
SCS: 'wss://rococo.integritee.network'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'rococoJupiter',
|
||||
paraId: 1,
|
||||
text: t('rpc.rococo.jupiter', 'Patract Jupiter R1', { ns: 'apps-config' }),
|
||||
providers: {
|
||||
jupiter: 'wss://ws.rococo.jupiter.patract.cn'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'rococoKilt',
|
||||
paraId: 12623,
|
||||
|
||||
@ -102,7 +102,8 @@ export const chainColors: Record<string, any> = [
|
||||
['HydraDX Snakenet', chainSnakenet],
|
||||
['Idavoll', chainIdavoll],
|
||||
['IntegriTEE PC1', chainIntegritee],
|
||||
['Jupiter Testnet', chainJupiter],
|
||||
['Jupiter A1', chainJupiter],
|
||||
['Jupiter PC1', chainJupiter],
|
||||
['KILT Collator Rococo', chainKilt],
|
||||
['KILT Testnet', chainKilt],
|
||||
['Kulupu', chainKulupu],
|
||||
@ -155,9 +156,9 @@ export const nodeColors: Record<string, any> = [
|
||||
['Encointer Node noTEE', nodeEncointerNotee],
|
||||
['Encointer Node TEE proxy', nodeEncointerTeeproxy],
|
||||
['Equilibrium node', nodeEquilibrium],
|
||||
['Jupiter Node', nodeJupiter],
|
||||
['Litentry Collator', nodeLitentry],
|
||||
['nodle chain node', nodeNodle],
|
||||
['Patract Node', nodeJupiter],
|
||||
['Polkadex Node', nodePolkadex],
|
||||
['Sgc', nodeSgc],
|
||||
['SORA-staging Node', nodeSora],
|
||||
|
||||
@ -90,6 +90,8 @@ export const chainLogos: Record<string, unknown> = [
|
||||
['Encointer PC1', nodeEncointerNotee],
|
||||
['Idavoll', nodeIdavoll],
|
||||
['IntegriTEE PC1', nodeIntegritee],
|
||||
['Jupiter A1', nodeJupiter],
|
||||
['Jupiter PC1', nodeJupiter],
|
||||
['KILT PC1', nodeKilt],
|
||||
['Kusama', chainKusama], // new name after CC3
|
||||
['Kusama CC1', chainKusama],
|
||||
@ -152,7 +154,6 @@ export const nodeLogos: Record<string, unknown> = [
|
||||
['Galois', nodeMath],
|
||||
['hanonycash', nodeHanonycash],
|
||||
['Idavoll Node', nodeIdavoll],
|
||||
['Jupiter Node', nodeJupiter],
|
||||
['KILT Node', nodeKilt],
|
||||
['KILT Collator', nodeKilt],
|
||||
['kulupu', nodeKulupu],
|
||||
@ -160,6 +161,7 @@ export const nodeLogos: Record<string, unknown> = [
|
||||
['Litentry Collator', nodeLitentry],
|
||||
['node-template', nodeSubstrate],
|
||||
['Nodle Chain Node', nodeNodle],
|
||||
['Patract Node', nodeJupiter],
|
||||
['Polkadex Node', nodePolkadex],
|
||||
['parity-polkadot', nodePolkadot],
|
||||
['Plasm', nodePlasm],
|
||||
@ -244,6 +246,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
rococoHydrate: chainHydrate,
|
||||
rococoIdavoll: nodeIdavoll,
|
||||
rococoIntegritee: nodeIntegritee,
|
||||
rococoJupiter: nodeJupiter,
|
||||
rococoKilt: nodeKilt,
|
||||
rococoLaminar: nodeLaminar,
|
||||
rococoLitentry: nodeLitentry,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user