Trait polkadot_sdk_frame::traits::TryState
pub trait TryState<BlockNumber> {
// Required method
fn try_state(_: BlockNumber, _: Select) -> Result<(), DispatchError>;
}
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.
Required Methods§
Object Safety§
This trait is not object safe.