diff --git a/relay/polkadot/src/lib.rs b/relay/polkadot/src/lib.rs index 8b1f72dd7f..a3826f1eac 100644 --- a/relay/polkadot/src/lib.rs +++ b/relay/polkadot/src/lib.rs @@ -68,7 +68,7 @@ use frame_support::{ weights::{ConstantMultiplier, WeightMeter}, PalletId, }; -use frame_system::{EnsureRoot, EnsureSigned}; +use frame_system::EnsureRoot; use pallet_grandpa::{fg_primitives, AuthorityId as GrandpaId}; use pallet_identity::legacy::IdentityInfo; use pallet_session::historical as session_historical; @@ -136,6 +136,9 @@ pub mod xcm_config; use impls::ToParachainIdentityReaper; +#[cfg(not(feature = "runtime-benchmarks"))] +use frame_system::EnsureSigned; + pub const LOG_TARGET: &str = "runtime::polkadot"; use polkadot_runtime_common as runtime_common;