pub trait CheckInherents<Block: BlockT> {
// Required method
fn check_inherents(
block: &Block,
validation_data: &RelayChainStateProof,
) -> CheckInherentsResult;
}
👎Deprecated: This trait is deprecated and will be removed by September 2024. Consider switching to
cumulus-pallet-parachain-system::ConsensusHook
Expand description
Something that can check the inherents of a block.
Required Methods§
sourcefn check_inherents(
block: &Block,
validation_data: &RelayChainStateProof,
) -> CheckInherentsResult
👎Deprecated: This trait is deprecated and will be removed by September 2024. Consider switching to cumulus-pallet-parachain-system::ConsensusHook
fn check_inherents( block: &Block, validation_data: &RelayChainStateProof, ) -> CheckInherentsResult
cumulus-pallet-parachain-system::ConsensusHook
Check all inherents of the block.
This function gets passed all the extrinsics of the block, so it is up to the callee to
identify the inherents. The validation_data
can be used to access the
Object Safety§
This trait is not object safe.