Expand description
cumulus-pallet-parachain-system is a base pallet for cumulus-based parachains.
This pallet handles low-level details of being a parachain. It’s responsibilities include:
- ingestion of the parachain validation data
- ingestion of incoming downward and lateral messages and dispatching them
- coordinating upgrades with the relay-chain
- communication of parachain outputs, such as sent messages, signalling an upgrade, etc.
Users must ensure that they register this pallet as an inherent provider.
Re-exports
pub use pallet::*;
Modules
A module that enables a runtime to work as parachain.
Macros
Register the
validate_block
function that is used by parachains to validate blocks on a
validator.Structs
Provides an implementation of
CheckAssociatedRelayNumber
.A snapshot of some messaging related state of relay chain pertaining to the current parachain.
A state proof extracted from the relay chain.
Provides an implementation of
CheckAssociatedRelayNumber
.Implements
BlockNumberProvider
that returns relay chain block number fetched from
validation data.
NTOE: When validation data is not available (e.g. within on_initialize), 0 will be returned.Traits
Something that can check the associated relay block number.
Something that can check the inherents of a block.
Something that should be informed about system related events.