Add missing parachain types (#2954)
* adde dmissing types * replaced id with u32 * Apply suggestions from code review Co-authored-by: Jaco Greeff <jacogr@gmail.com> * camelCase * lint Co-authored-by: Jaco Greeff <jacogr@gmail.com>
This commit is contained in:
co-authored by
Jaco Greeff
parent
e4948ef579
commit
a72d33ad24
@@ -155,6 +155,13 @@ export default {
|
||||
ParaScheduling: {
|
||||
_enum: ['Always', 'Dynamic']
|
||||
},
|
||||
PersistedValidationData: {
|
||||
parentHead: 'HeadData',
|
||||
blockNumber: 'BlockNumber',
|
||||
hrmpMqcHeads: 'Vec<(u32, Hash)>',
|
||||
dmqMqcHead: 'Hash',
|
||||
maxPovSize: 'u32'
|
||||
},
|
||||
RelayChainBlockNumber: 'BlockNumber',
|
||||
Remark: '[u8; 32]',
|
||||
Retriable: {
|
||||
@@ -188,6 +195,13 @@ export default {
|
||||
}
|
||||
},
|
||||
SubId: 'u32',
|
||||
TransientValidationData: {
|
||||
maxCodeSize: 'u32',
|
||||
maxHeadDataSize: 'u32',
|
||||
balance: 'Balance',
|
||||
codeUpgradeAllowed: 'Option<BlockNumber>',
|
||||
dmqLength: 'u32'
|
||||
},
|
||||
UpwardMessage: 'Bytes',
|
||||
ValidationFunctionParams: {
|
||||
maxCodeSize: 'u32',
|
||||
@@ -195,6 +209,10 @@ export default {
|
||||
codeUpgradeAllowed: 'Option<RelayChainBlockNumber>'
|
||||
},
|
||||
ValidationCode: 'Bytes',
|
||||
ValidationData: {
|
||||
persisted: 'PersistedValidationData',
|
||||
transient: 'TransientValidationData'
|
||||
},
|
||||
ValidatorSignature: 'Signature',
|
||||
ValidityAttestation: {
|
||||
_enum: {
|
||||
|
||||
Reference in New Issue
Block a user