Skip to content

Commit

Permalink
L1-305: Add migrations (#1836)
Browse files Browse the repository at this point in the history
  • Loading branch information
kostekIV authored Oct 16, 2024
1 parent c1eb432 commit 98091cd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bin/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1033,13 +1033,21 @@ pub type SignedBlock = generic::SignedBlock<Block>;
/// BlockId type as expected by this runtime.
pub type BlockId = generic::BlockId<Block>;

pub type Migrations = (
pallet_nomination_pools::migration::versioned::V5toV6<Runtime>,
pallet_nomination_pools::migration::versioned::V6ToV8<Runtime>,
pallet_staking::migrations::v14::MigrateToV14<Runtime>,
pallet_identity::migration::versioned::V0ToV1<Runtime, { u64::MAX }>,
);

/// Executive: handles dispatch to the various modules.
pub type Executive = frame_executive::Executive<
Runtime,
Block,
frame_system::ChainContext<Runtime>,
Runtime,
AllPalletsWithSystem,
Migrations,
>;

#[cfg(feature = "runtime-benchmarks")]
Expand Down

0 comments on commit 98091cd

Please sign in to comment.