Trait frame_support::traits::TryState
source · pub trait TryState<BlockNumber> {
// Required method
fn try_state(_: BlockNumber, _: Select) -> Result<(), TryRuntimeError>;
}
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.
This hook should not alter any storage.