Update Rococo parachain URLs and enable teleport (#6681)

* update rococo statemint and canvas URLs and enable teleport for those parachains

* update Rococo genesis hash to fix Rococo teleports
This commit is contained in:
Pierre Besson 2021-12-15 14:14:03 +01:00 committed by GitHub
parent e5dd89d716
commit 3786c59f9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 3 deletions

View File

@ -21,7 +21,7 @@ export const KUSAMA_GENESIS = getGenesis('kusama');
export const POLKADOT_GENESIS = getGenesis('polkadot');
export const POLKADOT_DENOM_BLOCK = new BN(1248328);
export const ROCOCO_GENESIS = '0xc196f81260cf1686172b47a79cf002120735d7cb0eb1474e8adce56618456fff';
export const ROCOCO_GENESIS = '0x037f5f3c8e67b314062025fc886fcd6238ea25a4a9b45dce8d246815c9ebe770';
export const WESTEND_GENESIS = '0xe143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e';

View File

@ -28,6 +28,7 @@ export function createRococo (t: TFunction): EndpointOption {
// Pinknode: 'wss://rpc.pinknode.io/rococo/explorer' // After reset, syncs to old chain
// 'Ares Protocol': 'wss://rococo.aresprotocol.com' // https://github.com/polkadot-js/apps/issues/5767
},
teleport: [1000, 1002],
linked: [
// these are the base chains
{
@ -59,8 +60,18 @@ export function createRococo (t: TFunction): EndpointOption {
paraId: 1000,
text: t('rpc.rococo.statemint', 'Statemint', { ns: 'apps-config' }),
providers: {
Parity: 'wss://statemint-rococo-rpc.parity.io'
}
Parity: 'wss://rococo-statemint-rpc.polkadot.io'
},
teleport: [-1]
},
{
info: 'rococoCanvas',
paraId: 1002,
text: t('rpc.rococo.canvas', 'Canvas', { ns: 'apps-config' }),
providers: {
Parity: 'wss://rococo-canvas-rpc.polkadot.io'
},
teleport: [-1]
},
// add any additional parachains here, alphabetical
{