-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Clears Old Storage for Session pallet #7132
Clears Old Storage for Session pallet #7132
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing Kusama?
…ession-pallet-migration
bot fmt |
@gupnik https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/2732291 was started for your command Comment |
@gupnik Command |
#[cfg(feature = "try-runtime")] | ||
use sp_std::vec::Vec; | ||
|
||
pub struct MigrateToV2<T>(sp_std::marker::PhantomData<T>); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Name is misleading and should get some docs on what it is doing.
bot fmt |
@gupnik https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/2739497 was started for your command Comment |
@gupnik Command |
…ch/polkadot into gupnik/session-pallet-migration
bot merge |
Waiting for commit status. |
bot merge force |
Fixes #4691
The old migration didn't clear the data properly. This PR adds a V2 to clear everything under Session::HistoricalSessions and Session::StoredRange
As discussed in paritytech/substrate#13997, this migration is added directly to Polkadot and Kusama.