pub trait CheckInherents<Block: BlockT> {
    // Required method
    fn check_inherents(
        block: &Block,
        validation_data: &RelayChainStateProof
    ) -> CheckInherentsResult;
}
👎Deprecated: consider switching to cumulus-pallet-parachain-system::ConsensusHook
Expand description

Something that can check the inherents of a block.

Required Methods§

source

fn check_inherents( block: &Block, validation_data: &RelayChainStateProof ) -> CheckInherentsResult

👎Deprecated: consider switching to 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

Implementors§