From 73880cdc192d86e6a614c7828885a8e1762b59ad Mon Sep 17 00:00:00 2001 From: Francisco Gamundi Date: Thu, 19 Oct 2023 17:02:12 +0200 Subject: [PATCH] Removed use to try-runtime block --- runtime/dancebox/src/migrations.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/dancebox/src/migrations.rs b/runtime/dancebox/src/migrations.rs index ed60d6360..30af942bb 100644 --- a/runtime/dancebox/src/migrations.rs +++ b/runtime/dancebox/src/migrations.rs @@ -20,7 +20,7 @@ //! the "Migration" trait declared in the pallet-migrations crate. use { - crate::{Configuration, Invulnerables, Runtime, RuntimeOrigin, LOG_TARGET}, + crate::{Invulnerables, Runtime, RuntimeOrigin, LOG_TARGET}, frame_support::{ migration::storage_key_iter, storage::types::StorageValue, traits::OnRuntimeUpgrade, weights::Weight, Blake2_128Concat, @@ -303,7 +303,7 @@ where &self, _number_of_invulnerables: Vec, ) -> Result<(), sp_runtime::DispatchError> { - let new_period = Configuration::config().full_rotation_period; + let new_period = crate::Configuration::config().full_rotation_period; assert_eq!(new_period, 24); Ok(())