Updates after Rococo reset (#6182)

* Updates after Rococo reset

* sanity cleanup
This commit is contained in:
Jaco 2021-09-23 16:46:43 +03:00 committed by GitHub
parent e2e4133930
commit b0a43adb7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 6 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 = '0xe7c3d5edde7db964317cd9b51a3a059d7cd99f81bdbce14990047354334c9779';
export const ROCOCO_GENESIS = '0x5fce687da39305dfe682b117f0820b319348e8bb37eb16cf34acbf6a202de9d9';
export const WESTEND_GENESIS = '0xe143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e';

View File

@ -22,10 +22,10 @@ export function createRococo (t: TFunction): EndpointOption {
info: 'rococo',
text: t('rpc.rococo', 'Rococo', { ns: 'apps-config' }),
providers: {
Parity: 'wss://rococo-rpc.polkadot.io',
OnFinality: 'wss://rococo.api.onfinality.io/public-ws',
'Patract Elara': 'wss://pub.elara.patract.io/rococo',
Pinknode: 'wss://rpc.pinknode.io/rococo/explorer'
Parity: 'wss://rococo-rpc.polkadot.io'
// OnFinality: 'wss://rococo.api.onfinality.io/public-ws', // After reset, node misses host functions
// 'Patract Elara': 'wss://pub.elara.patract.io/rococo', // After reset node is not available
// 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
},
linked: [
@ -182,6 +182,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoGenshiro',
isDisabled: true, // Rococo reset
paraId: 2021,
text: t('rpc.rococo.genshiro', 'Genshiro', { ns: 'apps-config' }),
providers: {
@ -190,6 +191,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoHalongbay',
isDisabled: true, // Rococo reset
paraId: 2018,
text: t('rpc.rococo.halongbay', 'Halongbay', { ns: 'apps-config' }),
providers: {
@ -225,6 +227,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoInterBTC',
isDisabled: true, // Rococo reset
paraId: 2088,
text: t('rpc.rococo.interbtc', 'InterBTC PC1', { ns: 'apps-config' }),
providers: {
@ -251,6 +254,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoKylin',
isDisabled: true, // Rococo reset
paraId: 2013,
text: t('rpc.kylin-node.co.uk', 'Kylin Network', { ns: 'apps-config' }),
providers: {
@ -259,6 +263,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoSingLavender',
isDisabled: true, // Rococo reset
paraId: 2104,
text: t('rpc.rococo.singlavender', 'Lavender by SingNetwork', { ns: 'apps-config' }),
providers: {
@ -276,6 +281,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoLoomNetwork',
isDisabled: true, // Rococo reset
paraId: 2043,
text: t('rpc.rococo.loomnetwork', 'Loom Network', { ns: 'apps-config' }),
providers: {
@ -320,6 +326,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoOriginTrail',
isDisabled: true, // Rococo reset
paraId: 2037,
text: t('rpc.rococo.origintrail', 'OriginTrail Parachain', { ns: 'apps-config' }),
providers: {
@ -436,6 +443,7 @@ export function createRococo (t: TFunction): EndpointOption {
},
{
info: 'rococoVln',
isDisabled: true, // Rococo reset
paraId: 2007,
text: t('rpc.rococo.vln', 'Valibre Network PC', { ns: 'apps-config' }),
providers: {

View File

@ -87,7 +87,7 @@ function Claim ({ accountId, className = '', ethereumAddress, ethereumSignature,
<div className={className}>
{t<string>('Your Ethereum account')}
<h3>{addrToChecksum(ethereumAddress.toString())}</h3>
{hasClaim && claimValue
{hasClaim
? (
<>
{t<string>('has a valid claim for')}