Skip to content

Commit

Permalink
Removed use to try-runtime block
Browse files Browse the repository at this point in the history
  • Loading branch information
fgamundi committed Oct 19, 2023
1 parent 1ffc919 commit 73880cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/dancebox/src/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -303,7 +303,7 @@ where
&self,
_number_of_invulnerables: Vec<u8>,
) -> 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(())
Expand Down

0 comments on commit 73880cd

Please sign in to comment.