diff --git a/packages/apps-config/src/api/spec/crust.ts b/packages/apps-config/src/api/spec/crust.ts index fb297ece3374..e46b76481e0e 100644 --- a/packages/apps-config/src/api/spec/crust.ts +++ b/packages/apps-config/src/api/spec/crust.ts @@ -1,3 +1,10 @@ +// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// This software may be modified and distributed under the terms +// of the Apache-2.0 license. See the LICENSE file for details. + +// structs need to be in order +/* eslint-disable sort-keys */ + export default { Address: 'AccountId', AddressInfo: 'Vec', @@ -11,36 +18,36 @@ export default { IASSig: 'Vec', Identity: { pub_key: 'Vec', - code: 'Vec', + code: 'Vec' }, ISVBody: 'Vec', LookupSource: 'AccountId', MerchantInfo: { address: 'Vec', storage_price: 'Balance', - file_map: 'Vec<(Vec, Vec)>', + file_map: 'Vec<(Vec, Vec)>' }, MerchantPunishment: { success: 'EraIndex', failed: 'EraIndex', - value: 'Balance', + value: 'Balance' }, MerkleRoot: 'Vec', OrderStatus: { - _enum: ['Success', 'Failed', 'Pending'], + _enum: ['Success', 'Failed', 'Pending'] }, PaymentLedger: { total: 'Balance', paid: 'Balance', - unreserved: 'Balance', + unreserved: 'Balance' }, Pledge: { total: 'Balance', - used: 'Balance', + used: 'Balance' }, ReportSlot: 'u64', Releases: { - _enum: ['V1_0_0', 'V2_0_0'], + _enum: ['V1_0_0', 'V2_0_0'] }, Status: { _enum: ['Free', 'Reserved'] @@ -54,7 +61,7 @@ export default { provider: 'AccountId', client: 'AccountId', amount: 'Balance', - order_status: 'OrderStatus', + order_status: 'OrderStatus' }, SworkerCert: 'Vec', SworkerCode: 'Vec', @@ -65,6 +72,6 @@ export default { used: 'u64', reserved: 'u64', cached_reserved: 'u64', - files: 'Vec<(Vec, u64)>', + files: 'Vec<(Vec, u64)>' } -}; \ No newline at end of file +}; diff --git a/packages/apps-config/src/api/spec/index.ts b/packages/apps-config/src/api/spec/index.ts index cf89ac9e604b..6ae53743fc64 100644 --- a/packages/apps-config/src/api/spec/index.ts +++ b/packages/apps-config/src/api/spec/index.ts @@ -24,6 +24,7 @@ export default { Crab: crab, acala, 'centrifuge-chain': centrifugeChain, + crust, 'cumulus-test-parachain': testPara, 'darwinia-parachain': darwiniaParachain, dusty3: plasm, @@ -39,6 +40,5 @@ export default { plasm, 'stable-poc': stablePoc, stable_poc: stablePoc, - subsocial: subsocialNode, - crust + subsocial: subsocialNode }; diff --git a/packages/apps-config/src/ui/general/index.ts b/packages/apps-config/src/ui/general/index.ts index 410ea9ee3ea9..ef6adbf548c7 100644 --- a/packages/apps-config/src/ui/general/index.ts +++ b/packages/apps-config/src/ui/general/index.ts @@ -18,7 +18,7 @@ const chainRoccoDarwinia = '#7C30DD'; const laminarRoccoAcala = '#004FFF'; const chainWestend = '#da68a7'; const chainPhala = '#4dc56a'; -const chainCrust = '#ff8812' +const chainCrust = '#ff8812'; const nodeCentrifuge = '#fcc367'; const nodeEdgeware = '#0a95df'; diff --git a/packages/apps-config/src/ui/logos/index.ts b/packages/apps-config/src/ui/logos/index.ts index cfc1a8a1bd67..d083dfef0e08 100644 --- a/packages/apps-config/src/ui/logos/index.ts +++ b/packages/apps-config/src/ui/logos/index.ts @@ -93,6 +93,7 @@ const namedLogos: Record = { alexander: nodePolkadot, centrifuge: nodeCentrifuge, crab: nodeCrab, + crust: nodeCrust, dusty: chainDusty, edgeware: nodeEdgeware, empty: emptyLogo, @@ -114,8 +115,7 @@ const namedLogos: Record = { rococoTrick: chainRococoTrick, subsocial: nodeSubsocial, substrate: nodeSubstrate, - westend: nodePolkadot, - crust: nodeCrust + westend: nodePolkadot }; // extension logos