Crate cumulus_pallet_parachain_system[−][src]
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
A state proof extracted from the relay chain.
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 inherents of a block.