Skip to content

Commit

Permalink
Fix some try-runtime gated imports
Browse files Browse the repository at this point in the history
  • Loading branch information
seadanda committed Apr 24, 2024
1 parent 108ce6b commit 10c2a81
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions system-parachains/coretime/coretime-kusama/src/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 10c2a81

Please sign in to comment.