Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
add scheduler migrations
  • Loading branch information
kostekIV committed Feb 20, 2023
commit 84f87f3fff8243a492a41af96bbf09aefb270073
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bin/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ std = [
"pallet-vesting/std",
"pallet-multisig/std",
"pallet-utility/std",
"pallet-scheduler/std",
"serde",
"sp-api/std",
"sp-block-builder/std",
Expand Down
6 changes: 4 additions & 2 deletions bin/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ use frame_support::{
PalletId,
};
use frame_system::{EnsureRoot, EnsureSignedBy};
use pallet_balances::migration::MigrateManyToTrackInactive;
pub use pallet_balances::Call as BalancesCall;
pub use pallet_timestamp::Call as TimestampCall;
use pallet_transaction_payment::{CurrencyAdapter, Multiplier, TargetedFeeAdjustment};
Expand Down Expand Up @@ -785,7 +784,10 @@ pub type Executive = frame_executive::Executive<
frame_system::ChainContext<Runtime>,
Runtime,
AllPalletsWithSystem,
(MigrateManyToTrackInactive<Runtime, EmptyList>,),
(
pallet_scheduler::migration::v3::MigrateToV4<Runtime>,
pallet_balances::migration::MigrateManyToTrackInactive<Runtime, EmptyList>,
),
>;

impl_runtime_apis! {
Expand Down