From 10c2a817e7e47a5b35f5c7cb29368bd2974aa56e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=B3nal=20Murray?= Date: Wed, 24 Apr 2024 17:29:01 +0100 Subject: [PATCH] Fix some try-runtime gated imports --- .../coretime/coretime-kusama/src/migrations.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/system-parachains/coretime/coretime-kusama/src/migrations.rs b/system-parachains/coretime/coretime-kusama/src/migrations.rs index ed350e560c..68cf0ecec6 100644 --- a/system-parachains/coretime/coretime-kusama/src/migrations.rs +++ b/system-parachains/coretime/coretime-kusama/src/migrations.rs @@ -21,11 +21,13 @@ pub mod bootstrapping { use crate::{weights, Runtime, RuntimeOrigin}; use frame_support::{pallet_prelude::*, traits::OnRuntimeUpgrade}; - use pallet_broker::{AllowedRenewals, CoreIndex, Leases, Status, Timeslice, WeightInfo}; #[cfg(feature = "try-runtime")] + use pallet_broker::StatusRecord; use pallet_broker::{ + AllowedRenewals, CoreAssignment::{Pool, Task}, - CoreMask, Reservations, SaleInfo, Schedule, ScheduleItem, StatusRecord, Workplan, + CoreIndex, CoreMask, Leases, Reservations, SaleInfo, Schedule, ScheduleItem, Status, + Timeslice, WeightInfo, Workplan, }; #[cfg(feature = "try-runtime")] use sp_runtime::TryRuntimeError;