Name | Lookup | Parameters | |
|---|---|---|---|
| set_upgrade_block | 0100 | 1 | |
| set_validation_data | 0101 | 1 | |
| sudo_send_upward_message | 0102 | 1 | |
| authorize_upgrade | 0103 | 1 | |
| enact_authorized_upgrade | 0104 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| ValidationFunctionStored | 0100 | ||
| ValidationFunctionApplied | 0101 | ||
| UpgradeAuthorized | 0102 | ||
| DownwardMessagesReceived | 0103 | ||
| DownwardMessagesProcessed | 0104 |
Name | Type | |
|---|---|---|
| PendingRelayChainBlockNumber | {"origin":"PlainType","plain_type":"RelayChainBlockNumber"} | |
| PendingValidationCode | {"origin":"PlainType","plain_type":"Bytes"} | |
| ValidationData | {"origin":"PlainType","plain_type":"PersistedValidationData"} | |
| DidSetValidationCode | {"origin":"PlainType","plain_type":"bool"} | |
| LastUpgrade | {"origin":"PlainType","plain_type":"relay_chain::BlockNumber"} | |
| RelevantMessagingState | {"origin":"PlainType","plain_type":"MessagingStateSnapshot"} | |
| HostConfiguration | {"origin":"PlainType","plain_type":"AbridgedHostConfiguration"} | |
| LastDmqMqcHead | {"origin":"PlainType","plain_type":"MessageQueueChain"} | |
| LastHrmpMqcHeads | {"origin":"PlainType","plain_type":"BTreeMap<ParaId, MessageQueueChain>"} | |
| ProcessedDownwardMessages | {"origin":"PlainType","plain_type":"u32"} | |
| NewValidationCode | {"origin":"PlainType","plain_type":"Bytes"} | |
| HrmpWatermark | {"origin":"PlainType","plain_type":"relay_chain::v1::BlockNumber"} | |
| HrmpOutboundMessages | {"origin":"PlainType","plain_type":"Vec<OutboundHrmpMessage>"} | |
| UpwardMessages | {"origin":"PlainType","plain_type":"Vec<UpwardMessage>"} | |
| PendingUpwardMessages | {"origin":"PlainType","plain_type":"Vec<UpwardMessage>"} | |
| AnnouncedHrmpMessagesPerCandidate | {"origin":"PlainType","plain_type":"u32"} | |
| ReservedXcmpWeightOverride | {"origin":"PlainType","plain_type":"Weight"} | |
| ReservedDmpWeightOverride | {"origin":"PlainType","plain_type":"Weight"} | |
| AuthorizedUpgrade | {"origin":"PlainType","plain_type":"Hash"} |
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 is willing 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. |