Skip to content

Commit 98091cd

Browse files
authored
L1-305: Add migrations (#1836)
1 parent c1eb432 commit 98091cd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bin/runtime/src/lib.rs

+8
Original file line numberDiff line numberDiff line change
@@ -1033,13 +1033,21 @@ pub type SignedBlock = generic::SignedBlock<Block>;
10331033
/// BlockId type as expected by this runtime.
10341034
pub type BlockId = generic::BlockId<Block>;
10351035

1036+
pub type Migrations = (
1037+
pallet_nomination_pools::migration::versioned::V5toV6<Runtime>,
1038+
pallet_nomination_pools::migration::versioned::V6ToV8<Runtime>,
1039+
pallet_staking::migrations::v14::MigrateToV14<Runtime>,
1040+
pallet_identity::migration::versioned::V0ToV1<Runtime, { u64::MAX }>,
1041+
);
1042+
10361043
/// Executive: handles dispatch to the various modules.
10371044
pub type Executive = frame_executive::Executive<
10381045
Runtime,
10391046
Block,
10401047
frame_system::ChainContext<Runtime>,
10411048
Runtime,
10421049
AllPalletsWithSystem,
1050+
Migrations,
10431051
>;
10441052

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

0 commit comments

Comments
 (0)