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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.