pub trait CheckInherents<Block: BlockT> {
fn check_inherents(
block: &Block,
validation_data: &RelayChainStateProof
) -> CheckInherentsResult;
}
Expand description
Something that can check the inherents of a block.
Required Methods§
sourcefn check_inherents(
block: &Block,
validation_data: &RelayChainStateProof
) -> CheckInherentsResult
fn check_inherents(
block: &Block,
validation_data: &RelayChainStateProof
) -> CheckInherentsResult
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