Trait frame_support::traits::TryState
source · 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.