Trait frame_support::traits::EnsureInherentsAreFirst[][src]

pub trait EnsureInherentsAreFirst<Block> {
    fn ensure_inherents_are_first(block: &Block) -> Result<(), u32>;
}
Expand description

A trait to ensure the inherent are before non-inherent in a block.

This is typically implemented on runtime, through construct_runtime!.

Required methods

Ensure the position of inherent is correct, i.e. they are before non-inherents.

On error return the index of the inherent with invalid position (counting from 0).

Implementors