From 7c75f21f04e3bc1773a67e82f2e2eaf3e61b9bba Mon Sep 17 00:00:00 2001 From: Frank Bell <60948618+evilrobot-01@users.noreply.github.com> Date: Mon, 5 Aug 2024 11:16:44 +0100 Subject: [PATCH] fix(testnet): add missing migration (#155) --- runtime/testnet/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runtime/testnet/src/lib.rs b/runtime/testnet/src/lib.rs index d7650b71..7c03e429 100644 --- a/runtime/testnet/src/lib.rs +++ b/runtime/testnet/src/lib.rs @@ -107,6 +107,9 @@ pub type SignedExtra = ( pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; +/// Migrations to apply on runtime upgrade. +pub type Migrations = (pallet_collator_selection::migration::v2::MigrationToV2,); + /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< Runtime, @@ -114,6 +117,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, + Migrations, >; /// Handles converting a weight scalar to a fee value, based on the scale and granularity of the