Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit c2f3cbc

Browse files
committed
doc update
1 parent 93ba64a commit c2f3cbc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

frame/staking/src/migrations.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ use frame_support::{
2323
traits::OnRuntimeUpgrade,
2424
};
2525

26-
/// Outdated since v12. Useful to make encoding/decoding of old migration code easier.
26+
/// Used for release versioning upto v12.
27+
///
28+
/// Obsolete from v13. Keeping around to make encoding/decoding of old migration code easier.
2729
#[derive(Encode, Decode, Clone, Copy, PartialEq, Eq, RuntimeDebug, TypeInfo, MaxEncodedLen)]
2830
enum ObsoleteReleases {
2931
V1_0_0Ancient,
@@ -46,7 +48,7 @@ impl Default for ObsoleteReleases {
4648
}
4749
}
4850

49-
/// Alias to the old storage item for keeping versions. Outdated since v12.
51+
/// Alias to the old storage item used for release versioning. Obsolete since v13.
5052
#[storage_alias]
5153
type StorageVersion<T: Config> = StorageValue<Pallet<T>, ObsoleteReleases, ValueQuery>;
5254

0 commit comments

Comments
 (0)