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
This commit is contained in:
Kun 2021-01-29 15:59:20 +08:00 committed by GitHub
parent 68c4656335
commit 4254e809e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,7 @@ export default {
IASSig: 'Vec<u8>',
Identity: {
anchor: 'SworkerAnchor',
punishment_deadline: 'u64',
group: 'Option<AccountId>'
},
ISVBody: 'Vec<u8>',
@ -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<u8>',
UsedInfo: {
used_size: 'u64',
groups: 'BTreeSet<SworkerAnchor>'
reported_group_count: 'u32',
groups: 'BTreeMap<SworkerAnchor, bool>'
},
WorkReport: {
report_slot: 'u64',