Function pallet_support::ensure_storage_version
source · pub fn ensure_storage_version<P: PalletInfoAccess>(
version: u16
) -> Result<(), &'static str>
Expand description
Ensure that the current pallet storage version matches version
.