Updata parachain types (#3042)
This commit is contained in:
@@ -34,7 +34,14 @@ const versioned: OverrideVersionedType[] = [
|
||||
}
|
||||
},
|
||||
{
|
||||
minmax: [13, undefined],
|
||||
minmax: [13, 13],
|
||||
types: {
|
||||
...sharedTypes,
|
||||
HostConfig: 'HostConfigurationTo13'
|
||||
}
|
||||
},
|
||||
{
|
||||
minmax: [14, undefined],
|
||||
types: {
|
||||
...sharedTypes
|
||||
}
|
||||
|
||||
@@ -36,6 +36,25 @@ export default {
|
||||
povBlockHash: 'Hash',
|
||||
commitments: 'CandidateCommitments'
|
||||
},
|
||||
AbridgedHostConfiguration: {
|
||||
maxCodeSize: 'u32',
|
||||
maxHeadDataSize: 'u32',
|
||||
maxUpwardQueueCount: 'u32',
|
||||
maxUpwardQueueSize: 'u32',
|
||||
maxUpwardMessageSize: 'u32',
|
||||
maxUpwardMessageNumPerCandidate: 'u32',
|
||||
hrmpMaxMessageNumPerCandidate: 'u32',
|
||||
validationUpgradeFrequency: 'BlockNumber',
|
||||
validationUpgradeDelay: 'BlockNumber'
|
||||
},
|
||||
AbridgedHrmpChannel: {
|
||||
maxCapacity: 'u32',
|
||||
maxTotalSize: 'u32',
|
||||
maxMessageSize: 'u32',
|
||||
msgCount: 'u32',
|
||||
totalSize: 'u32',
|
||||
mqcHead: 'Option<Hash>'
|
||||
},
|
||||
AssignmentId: 'AccountId',
|
||||
AssignmentKind: {
|
||||
_enum: {
|
||||
@@ -138,6 +157,44 @@ export default {
|
||||
},
|
||||
HeadData: 'Bytes',
|
||||
HostConfiguration: {
|
||||
maxCodeSize: 'u32',
|
||||
maxHeadDataSize: 'u32',
|
||||
maxUpwardQueueCount: 'u32',
|
||||
maxUpwardQueueSize: 'u32',
|
||||
maxUpwardMessageSize: 'u32',
|
||||
maxUpwardMessageNumPerCandidate: 'u32',
|
||||
hrmpMaxMessageNumPerCandidate: 'u32',
|
||||
validationUpgradeFrequency: 'BlockNumber',
|
||||
validationUpgradeDelay: 'BlockNumber',
|
||||
maxPovSize: 'u32',
|
||||
maxDownwardMessageSize: 'u32',
|
||||
preferredDispatchableUpwardMessagesStepWeight: 'Weight',
|
||||
hrmpMaxParachainOutboundChannels: 'u32',
|
||||
hrmpMaxParathreadOutboundChannels: 'u32',
|
||||
hrmpOpenRequestTtl: 'u32',
|
||||
hrmpSenderDeposit: 'Balance',
|
||||
hrmpRecipientDeposit: 'Balance',
|
||||
hrmpChannelMaxCapacity: 'u32',
|
||||
hrmpChannelMaxTotalSize: 'u32',
|
||||
hrmpMaxParachainInboundChannels: 'u32',
|
||||
hrmpMaxParathreadInboundChannels: 'u32',
|
||||
hrmpChannelMaxMessageSize: 'u32',
|
||||
acceptancePeriod: 'BlockNumber',
|
||||
parathreadCores: 'u32',
|
||||
parathreadRetries: 'u32',
|
||||
groupRotationFrequency: 'BlockNumber',
|
||||
chainAvailabilityPeriod: 'BlockNumber',
|
||||
threadAvailabilityPeriod: 'BlockNumber',
|
||||
schedulingLookahead: 'u32',
|
||||
maxValidatorsPerCore: 'Option<u32>',
|
||||
disputePeriod: 'SessionIndex',
|
||||
noShowSlots: 'u32',
|
||||
nDelayTranches: 'u32',
|
||||
zerothDelayTrancheWidth: 'u32',
|
||||
neededApprovals: 'u32',
|
||||
relayVrfModuloSamples: 'u32'
|
||||
},
|
||||
HostConfigurationTo13: {
|
||||
validationUpgradeFrequency: 'BlockNumber',
|
||||
validationUpgradeDelay: 'BlockNumber',
|
||||
acceptancePeriod: 'BlockNumber',
|
||||
|
||||
Reference in New Issue
Block a user