Name | Lookup | Parameters | |
---|---|---|---|
set_validation_data | 0100 | 1 | |
sudo_send_upward_message | 0101 | 1 | |
authorize_upgrade | 0102 | 1 | |
enact_authorized_upgrade | 0103 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
ValidationFunctionStored | 0100 | ||
ValidationFunctionApplied | 0101 | ["RelayChainBlockNumber"] | |
ValidationFunctionDiscarded | 0102 | ||
UpgradeAuthorized | 0103 | ["Hash"] | |
DownwardMessagesReceived | 0104 | ["u32"] | |
DownwardMessagesProcessed | 0105 | ["Weight","relay_chain::Hash"] |
Name | Type | |
---|---|---|
PendingValidationCode | {"origin":"PlainType","plain_type":"Vec<U8>","PlainTypeValue":11} | |
NewValidationCode | {"origin":"PlainType","plain_type":"Vec<U8>","PlainTypeValue":11} | |
ValidationData | {"origin":"PlainType","plain_type":"polkadot_primitives:v1:PersistedValidationData","PlainTypeValue":102} | |
DidSetValidationCode | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":33} | |
UpgradeRestrictionSignal | {"origin":"PlainType","plain_type":"option<polkadot_primitives:v1:UpgradeRestriction>","PlainTypeValue":104} | |
RelevantMessagingState | {"origin":"PlainType","plain_type":"cumulus_pallet_parachain_system:relay_state_snapshot:MessagingStateSnapshot","PlainTypeValue":106} | |
HostConfiguration | {"origin":"PlainType","plain_type":"polkadot_primitives:v1:AbridgedHostConfiguration","PlainTypeValue":112} | |
LastDmqMqcHead | {"origin":"PlainType","plain_type":"H256","PlainTypeValue":113} | |
LastHrmpMqcHeads | {"origin":"PlainType","plain_type":"Vec<Tuple:U32H256>","PlainTypeValue":114} | |
ProcessedDownwardMessages | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
HrmpWatermark | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
HrmpOutboundMessages | {"origin":"PlainType","plain_type":"Vec<polkadot_core_primitives:OutboundHrmpMessage>","PlainTypeValue":117} | |
UpwardMessages | {"origin":"PlainType","plain_type":"Vec<Vec<U8>>","PlainTypeValue":88} | |
PendingUpwardMessages | {"origin":"PlainType","plain_type":"Vec<Vec<U8>>","PlainTypeValue":88} | |
AnnouncedHrmpMessagesPerCandidate | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
ReservedXcmpWeightOverride | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":8} | |
ReservedDmpWeightOverride | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":8} | |
AuthorizedUpgrade | {"origin":"PlainType","plain_type":"H256","PlainTypeValue":9} |
Name | Docs |
---|---|
OverlappingUpgrades | Attempt to upgrade validation function while existing upgrade pending |
ProhibitedByPolkadot | Polkadot currently prohibits this parachain from upgrading its validation function |
TooBig | The supplied validation function has compiled into a blob larger than Polkadot iswilling to run |
ValidationDataNotAvailable | The inherent which supplies the validation data did not run this block |
HostConfigurationNotAvailable | The inherent which supplies the host configuration did not run this block |
NotScheduled | No validation function upgrade is currently scheduled. |
NothingAuthorized | No code upgrade has been authorized. |
Unauthorized | The given code upgrade has not been authorized. |