Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Scheduler is already at V4 #13105

Merged
merged 3 commits into from
Jan 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frame/referenda/src/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub mod v1 {
use super::*;

/// The log target.
const TARGET: &'static str = "runtime::democracy::migration::v1";
const TARGET: &'static str = "runtime::referenda::migration::v1";

/// Transforms a submission deposit of ReferendumInfo(Approved|Rejected|Cancelled|TimedOut) to
/// optional value, making it refundable.
Expand Down
2 changes: 1 addition & 1 deletion frame/scheduler/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,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