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 <oliver.tale-yazdi@parity.io>

* Fix Referenda log target

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Fix test

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez authored and Neopallium committed Mar 27, 2023
1 parent 709b305 commit d2bab37
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 d2bab37

Please sign in to comment.