Name | Lookup | Parameters | |
|---|---|---|---|
| set_validation_data | 1400 | 1 | |
| sudo_send_upward_message | 1401 | 1 | |
| authorize_upgrade | 1402 | 1 | |
| enact_authorized_upgrade | 1403 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| ValidationFunctionStored | 1400 | ||
| ValidationFunctionApplied | 1401 | ["RelayChainBlockNumber"] | |
| ValidationFunctionDiscarded | 1402 | ||
| UpgradeAuthorized | 1403 | ["Hash"] | |
| DownwardMessagesReceived | 1404 | ["u32"] | |
| DownwardMessagesProcessed | 1405 | ["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:v2:PersistedValidationData","PlainTypeValue":191} | |
| DidSetValidationCode | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":43} | |
| LastRelayChainBlockNumber | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| UpgradeRestrictionSignal | {"origin":"PlainType","plain_type":"option<polkadot_primitives:v2:UpgradeRestriction>","PlainTypeValue":292} | |
| RelayStateProof | {"origin":"PlainType","plain_type":"Vec<Vec<U8>>","PlainTypeValue":193} | |
| RelevantMessagingState | {"origin":"PlainType","plain_type":"cumulus_pallet_parachain_system:relay_state_snapshot:MessagingStateSnapshot","PlainTypeValue":294} | |
| HostConfiguration | {"origin":"PlainType","plain_type":"polkadot_primitives:v2:AbridgedHostConfiguration","PlainTypeValue":298} | |
| LastDmqMqcHead | {"origin":"PlainType","plain_type":"H256","PlainTypeValue":299} | |
| LastHrmpMqcHeads | {"origin":"PlainType","plain_type":"Vec<Tuple:U32H256>","PlainTypeValue":300} | |
| 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":303} | |
| UpwardMessages | {"origin":"PlainType","plain_type":"Vec<Vec<U8>>","PlainTypeValue":126} | |
| PendingUpwardMessages | {"origin":"PlainType","plain_type":"Vec<Vec<U8>>","PlainTypeValue":126} | |
| 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":10} | |
| CustomValidationHeadData | {"origin":"PlainType","plain_type":"Vec<U8>","PlainTypeValue":11} |
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. |