Skip to content

Commit

Permalink
Bump versions for sessions keys migration (#263)
Browse files Browse the repository at this point in the history
Fixes #262

CC @bkchr 

- [x] Does not require a CHANGELOG entry
  • Loading branch information
s0me0ne-unkn0wn authored Mar 29, 2024
1 parent 2dd830a commit 7a52317
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion relay/kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1860,7 +1860,7 @@ pub mod migrations {
/// Upgrade Session keys to exclude `ImOnline` key.
/// When this is removed, should also remove `OldSessionKeys`.
pub struct UpgradeSessionKeys;
const UPGRADE_SESSION_KEYS_FROM_SPEC: u32 = 1001002;
const UPGRADE_SESSION_KEYS_FROM_SPEC: u32 = 1001003;

impl OnRuntimeUpgrade for UpgradeSessionKeys {
#[cfg(feature = "try-runtime")]
Expand Down
2 changes: 1 addition & 1 deletion relay/polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1789,7 +1789,7 @@ pub mod migrations {
/// Upgrade Session keys to exclude `ImOnline` key.
/// When this is removed, should also remove `OldSessionKeys`.
pub struct UpgradeSessionKeys;
const UPGRADE_SESSION_KEYS_FROM_SPEC: u32 = 1001002;
const UPGRADE_SESSION_KEYS_FROM_SPEC: u32 = 1001003;

impl frame_support::traits::OnRuntimeUpgrade for UpgradeSessionKeys {
#[cfg(feature = "try-runtime")]
Expand Down

0 comments on commit 7a52317

Please sign in to comment.