Function runtime_common::migrations::utils::count_storage_keys
source · pub fn count_storage_keys(prefix: [u8; 32]) -> u32
Expand description
Iterates all keys of a storage and returns the count.
NOTE: Necessary because Storage::<T>::iter().count()
does not account
for keys which cannot be decoded.