From 4254e809e046446dc17f02b390a43755cde152dc Mon Sep 17 00:00:00 2001 From: Kun Date: Fri, 29 Jan 2021 15:59:20 +0800 Subject: [PATCH] Apply Crust Maxwell new types (#4526) * Fix abnormal account type * Fix crust logo invisible * Add Crust Rococo V1 Endpoint * Upgrade to Crust Maxwell * Apply Maxwell newest types --- packages/apps-config/src/api/spec/crust.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/apps-config/src/api/spec/crust.ts b/packages/apps-config/src/api/spec/crust.ts index 9d41bbcca4..109d2a8f4e 100644 --- a/packages/apps-config/src/api/spec/crust.ts +++ b/packages/apps-config/src/api/spec/crust.ts @@ -28,6 +28,7 @@ export default { IASSig: 'Vec', Identity: { anchor: 'SworkerAnchor', + punishment_deadline: 'u64', group: 'Option' }, ISVBody: 'Vec', @@ -41,7 +42,8 @@ export default { Replica: { who: 'AccountId', valid_at: 'BlockNumber', - anchor: 'SworkerAnchor' + anchor: 'SworkerAnchor', + is_reported: 'bool' }, PKInfo: { code: 'SworkerCode', @@ -57,7 +59,8 @@ export default { SworkerSignature: 'Vec', UsedInfo: { used_size: 'u64', - groups: 'BTreeSet' + reported_group_count: 'u32', + groups: 'BTreeMap' }, WorkReport: { report_slot: 'u64',