From a3b0130ba78a7346a89ed3c0746aa8d7fa964dc1 Mon Sep 17 00:00:00 2001 From: WoeOm <1015996366@qq.com> Date: Wed, 26 Aug 2020 20:21:42 +0800 Subject: [PATCH] Renaming "Crab" to "Darwinia Crab" (#3521) * add crab (darwinia canary network) * unusable BalanceInfo * alphabetical * remove module separator * alphabetical * merge apps * renaming from 'crab' to 'darwinia crab' * update types --- packages/apps-config/src/api/spec/crab.ts | 10 +++++++++- packages/apps-config/src/settings/endpoints.ts | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/apps-config/src/api/spec/crab.ts b/packages/apps-config/src/api/spec/crab.ts index 4a1f0db1d6..f8c0301ed6 100644 --- a/packages/apps-config/src/api/spec/crab.ts +++ b/packages/apps-config/src/api/spec/crab.ts @@ -7,6 +7,7 @@ export default { Address: 'AccountId', + LookupSource: 'AccountId', BalanceLock: { id: 'LockIdentifier', lock_for: 'LockFor', @@ -121,7 +122,7 @@ export default { reporters: 'Vec', payout: 'RKT' }, - Proposal: { + TreasuryProposal: { proposer: 'AccountId', beneficiary: 'AccountId', ring_value: 'Balance', @@ -139,6 +140,12 @@ export default { relayer: 'AccountId' }, EthBlockNumber: 'u64', + EthHeaderThing: { + eth_header: 'EthHeader', + ethash_proof: 'Vec', + mmr_root: 'MMRHash', + mmr_proof: 'Vec' + }, EthHeader: { parent_hash: 'H256', timestamp: 'u64', @@ -209,6 +216,7 @@ export default { Round: 'u64', TcBlockNumber: 'Vec', TcHeaderHash: 'Vec', + TcHeaderMMR: 'Vec', MMRHash: 'Vec', GameId: 'TcBlockNumber', RawHeaderThing: 'Vec', diff --git a/packages/apps-config/src/settings/endpoints.ts b/packages/apps-config/src/settings/endpoints.ts index 2fafc88941..a259414131 100644 --- a/packages/apps-config/src/settings/endpoints.ts +++ b/packages/apps-config/src/settings/endpoints.ts @@ -91,7 +91,7 @@ function createLive (t: TFunction): LinkOption[] { }, { info: 'crab', - text: t('rpc.crab', 'Crab (Darwinia Canary, hosted by Darwinia Network)', { ns: 'apps-config' }), + text: t('rpc.crab', 'Darwinia Crab (Darwinia Canary, hosted by Darwinia Network)', { ns: 'apps-config' }), value: 'wss://crab.darwinia.network' }, {