You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the pallets currently declare StorageVersion in types.rs but we can switch to the interface defined by Substrate, for example:
/// The current storage version.constSTORAGE_VERSION:StorageVersion = StorageVersion::new(3);#[pallet::pallet]#[pallet::generate_store(pub(super)traitStore)]#[pallet::storage_version(STORAGE_VERSION)]#[pallet::without_storage_info]pubstructPallet<T>(_);
The text was updated successfully, but these errors were encountered:
Most of the pallets currently declare
StorageVersion
intypes.rs
but we can switch to the interface defined by Substrate, for example:The text was updated successfully, but these errors were encountered: