fix kusari (#6655)

This commit is contained in:
Masterdubs 2021-12-10 16:51:31 +04:00 committed by GitHub
parent 6af161f347
commit 89a43f6354
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 61 additions and 0 deletions

View File

@ -59,6 +59,7 @@ import kilt from './kilt';
import konomi from './konomi';
import kpron from './kpron';
import kulupu from './kulupu';
import kusari from './kusari';
import kylin from './kylin';
import laminar from './laminar';
import litentry from './litentry';
@ -190,6 +191,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
konomi,
kpron,
kulupu,
kusari,
kylin,
laminar,
litentry,

View File

@ -0,0 +1,43 @@
// 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: {
EvmAddress: 'H160',
EthereumTxHash: 'H256',
Address: 'MultiAddress',
LookupSource: 'MultiAddress',
AccountInfo: 'AccountInfoWithTripleRefCount',
Account: {
nonce: 'U256',
balance: 'U256'
},
Transaction: {
nonce: 'U256',
action: 'String',
gas_price: 'u64',
gas_limit: 'u64',
value: 'U256',
input: 'Vec<u8>',
signature: 'Signature'
},
Signature: {
v: 'u64',
r: 'H256',
s: 'H256'
}
}
}
]
};
export default definitions;

View File

@ -154,6 +154,13 @@ export function createProduction (t: TFunction, firstOnly: boolean, withSort: bo
Kulupu: 'wss://rpc.kulupu.corepaper.org/ws'
}
},
{
info: 'kusari',
text: t('rpc.prod.kusari', 'Kusari', { ns: 'apps-config' }),
providers: {
Swapdex: 'wss://ws.kusari.network'
}
},
{
info: 'mathchain',
text: t('rpc.prod.mathchain', 'MathChain', { ns: 'apps-config' }),

View File

@ -70,6 +70,7 @@ const chainPrism = 'linear-gradient(45deg, rgba(63,94,251,1) 0%, rgba(252,70,107
const chainKilt = '#8c145a';
const chainKonomi = '#007aff';
const chainKusama = '#000000';
const chainKusari = '#b8860b';
const chainKylin = '#ed007e';
const chainLitentry = 'linear-gradient(45deg, #5cc27c 0%, #6de98f 100%)';
const chainMybank = '#282736';
@ -142,6 +143,7 @@ const nodeKonomi = '#007aff';
const nodeKpron = 'linear-gradient(45deg, #0099F7 0%, #2E49EB 100%)';
const nodeKylin = '#ed007e';
const nodeKlug = '#663399';
const nodeKusari = '#b8860b';
const nodeLitentry = 'linear-gradient(45deg, #5cc27c 0%, #6de98f 100%)';
const nodeManta = '#2070a6';
const nodeMathChain = '#000000';
@ -268,6 +270,7 @@ export const chainColors: Record<string, string> = Object.entries({
'Kusama CC1': chainKusama,
'Kusama CC2': chainKusama,
'Kusama CC3': chainKusama,
kusari: chainKusari,
'Kylin Testnet': chainKylin,
'laminar turbulence pc1': chainRococoLaminar,
Litentry: chainLitentry,
@ -392,6 +395,7 @@ export const nodeColors = Object.entries({
'Klug Dossier Node': nodeKlug,
'Konomi Collator': nodeKonomi,
'Kpron Collator': nodeKpron,
kusari: nodeKusari,
'Kylin Parachain Collator': nodeKylin,
'Litentry Collator': nodeLitentry,
'Manta Collator': nodeManta,

View File

@ -95,6 +95,7 @@ import nodeKilt from './nodes/kilt.png';
import nodeKlug from './nodes/klug.png';
import nodeKonomi from './nodes/konomi.png';
import nodeKulupu from './nodes/kulupu.svg';
import nodeKusari from './nodes/kusari.svg';
import nodeKylin from './nodes/kylin.png';
import nodeLaminar from './nodes/laminar-circle.svg';
import nodeLitentry from './nodes/litentry.png';
@ -226,6 +227,7 @@ export const chainLogos = Object.entries({
'Kusama CC1': chainKusama,
'Kusama CC2': chainKusama,
'Kusama CC3': chainKusama,
kusari: nodeKusari,
'Kylin Testnet': nodeKylin,
Litentry: nodeLitentry,
'Loom Network Local': nodeLoomNetwork,
@ -377,6 +379,7 @@ export const nodeLogos = Object.entries({
'Klug Dossier Node': nodeKlug,
'Kpron Collator': nodeApron,
kulupu: nodeKulupu,
kusari: nodeKusari,
'Kylin Node': nodeKylin,
'Laminar Node': nodeLaminar,
Litentry: nodeLitentry,
@ -553,6 +556,7 @@ export const namedLogos: Record<string, unknown> = {
kpron: nodeApron,
kulupu: nodeKulupu,
kusama: chainKusama,
kusari: nodeKusari,
kylin: nodeKylin,
laminar: nodeLaminar,
litentry: nodeLitentry,

View File

@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 500"><defs><style>.cls-1{fill:url(#linear-gradient);}.cls-2{fill:url(#linear-gradient-2);}.cls-3{fill:url(#linear-gradient-3);}.cls-4{fill:url(#linear-gradient-4);}.cls-5{fill:#231f20;}</style><linearGradient id="linear-gradient" x1="294.1" y1="372.25" x2="294.1" y2="193.99" gradientUnits="userSpaceOnUse"><stop offset="0.18" stop-color="#624098"/><stop offset="1" stop-color="#e84181"/></linearGradient><linearGradient id="linear-gradient-2" x1="315.83" y1="433.57" x2="315.83" y2="73.22" xlink:href="#linear-gradient"/><linearGradient id="linear-gradient-3" x1="321.85" y1="258.66" x2="321.85" y2="150.44" xlink:href="#linear-gradient"/><linearGradient id="linear-gradient-4" x1="164.11" y1="433.57" x2="164.11" y2="73.22" xlink:href="#linear-gradient"/></defs><polygon class="cls-1" points="215.64 282.42 217.52 280.54 218.71 279.36 225.76 272.3 225.76 244.18 242.95 261.37 242.94 261.39 257.64 276.09 257.65 276.07 335.4 353.82 317.37 371.84 383.22 372.25 366.75 355.78 366.76 355.77 272.36 261.37 260.72 249.73 257.65 246.67 256.98 245.99 256.84 245.85 204.97 193.99 204.97 281.69 204.97 293.08 209.84 288.23 215.64 282.42"/><polygon class="cls-2" points="215.37 73.22 215.37 94.01 405.9 94.01 405.9 412.78 225.76 412.78 225.76 314.31 207.76 332.31 204.97 335.45 204.97 342.04 204.97 433.57 426.7 433.57 426.7 73.22 215.37 73.22"/><polygon class="cls-3" points="317.65 186.68 260.38 243.94 262.27 245.85 275.07 258.66 293.05 240.68 293.12 240.75 350.4 183.47 350.34 183.41 383.32 150.44 317.47 150.85 335.55 168.92 317.72 186.75 317.65 186.68"/><polygon class="cls-4" points="209.57 324.24 225.76 308.05 225.76 307.97 254.92 278.81 240.22 264.1 208.26 296.07 207.76 296.57 204.97 299.35 191.36 312.97 191.36 73.22 73.3 73.22 73.3 433.57 177.61 433.57 177.61 412.78 94.09 412.78 94.09 94.01 170.57 94.01 170.57 363.17 203.89 329.84 203.89 329.84 204.97 328.77 209.57 324.24"/><polygon class="cls-5" points="215.64 282.42 217.52 280.54 218.71 279.36 225.76 272.3 225.76 244.18 242.95 261.37 242.94 261.39 257.64 276.09 257.65 276.07 335.4 353.82 317.37 371.84 383.22 372.25 366.75 355.78 366.76 355.77 272.36 261.37 260.72 249.73 257.65 246.67 256.98 245.99 256.84 245.85 204.97 193.99 204.97 281.69 204.97 293.08 209.84 288.23 215.64 282.42"/><polygon class="cls-5" points="215.37 73.22 215.37 94.01 405.9 94.01 405.9 412.78 225.76 412.78 225.76 314.31 207.76 332.31 204.97 335.45 204.97 342.04 204.97 433.57 426.7 433.57 426.7 73.22 215.37 73.22"/><polygon class="cls-5" points="317.65 186.68 260.38 243.94 262.27 245.85 275.07 258.66 293.05 240.68 293.12 240.75 350.4 183.47 350.34 183.41 383.32 150.44 317.47 150.85 335.55 168.92 317.72 186.75 317.65 186.68"/><polygon class="cls-5" points="209.57 324.24 225.76 308.05 225.76 307.97 254.92 278.81 240.22 264.1 208.26 296.07 207.76 296.57 204.97 299.35 191.36 312.97 191.36 73.22 73.3 73.22 73.3 433.57 177.61 433.57 177.61 412.78 94.09 412.78 94.09 94.01 170.57 94.01 170.57 363.17 203.89 329.84 203.89 329.84 204.97 328.77 209.57 324.24"/></svg>

After

Width:  |  Height:  |  Size: 3.1 KiB