From 7a523172a2c63eab94356ef0bfb2e4c375efc724 Mon Sep 17 00:00:00 2001 From: s0me0ne-unkn0wn <48632512+s0me0ne-unkn0wn@users.noreply.github.com> Date: Fri, 29 Mar 2024 18:48:09 +0100 Subject: [PATCH] Bump versions for sessions keys migration (#263) Fixes #262 CC @bkchr - [x] Does not require a CHANGELOG entry --- relay/kusama/src/lib.rs | 2 +- relay/polkadot/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index c799066bd9..985f87cb97 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -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")] diff --git a/relay/polkadot/src/lib.rs b/relay/polkadot/src/lib.rs index 8617fc3be0..7af0c9f617 100644 --- a/relay/polkadot/src/lib.rs +++ b/relay/polkadot/src/lib.rs @@ -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")]