pub trait TryState<BlockNumber> {
    fn try_state(_: BlockNumber, _: Select) -> Result<(), &'static str>;
}
Expand description

Execute some checks to ensure the internal state of a pallet is consistent.

Usually, these checks should check all of the invariants that are expected to be held on all of the storage items of your pallet.

Required Methods§

Execute the state checks.

Implementations on Foreign Types§

Implementors§