Provides types and traits for creating and checking inherents.
Each inherent is added to a produced block. Each runtime decides on which inherents it
wants to attach to its blocks. All data that is required for the runtime to create the inherents
is stored in the
InherentData is constructed by the node and given to
Types that provide data for inherents, should implement
InherentDataProvider and need to be
In the runtime, modules need to implement
ProvideInherent when they can create and/or check
inherents. By implementing
ProvideInherent, a module is not enforced to create an inherent.
A module can also just check given inherents. For using a module as inherent provider, it needs
to be registered by the
construct_runtime! macro. The macro documentation gives more
information on how that is done.
The result of checking inherents.
An error that can occur within the inherent data system.
Inherent data to include in a block.
Auxiliary to make any given error resolve to
Did we encounter a fatal error while checking an inherent?
A pallet that provides or verifies an inherent extrinsic.
Something that provides inherent data.
An identifier for an inherent.