Skip to content

Commit

Permalink
Scheduler is already at V4 (paritytech#13105)
Browse files Browse the repository at this point in the history
* Scheduler is already at V4

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix Referenda log target

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix test

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez authored and Neopallium committed Feb 21, 2023
1 parent fa5bd4a commit 4deedf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frame/scheduler/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ pub mod pallet {
use frame_system::pallet_prelude::*;

/// The current storage version.
const STORAGE_VERSION: StorageVersion = StorageVersion::new(3);
const STORAGE_VERSION: StorageVersion = StorageVersion::new(4);

#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
Expand Down
2 changes: 1 addition & 1 deletion frame/scheduler/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ fn migration_to_v4_works() {
}
assert_eq_uvec!(x, expected);

assert_eq!(Scheduler::current_storage_version(), 3);
assert_eq!(Scheduler::on_chain_storage_version(), 4);
});
}

Expand Down

0 comments on commit 4deedf5

Please sign in to comment.