diff --git a/runtime/src/impls.rs b/runtime/src/impls.rs index 960d76ba1b37..de6d04cf7fda 100644 --- a/runtime/src/impls.rs +++ b/runtime/src/impls.rs @@ -17,7 +17,7 @@ //! Auxillary struct/enums for polkadot runtime. use primitives::Balance; -use sr_primitives::weights::Weight; +use paint_support::weights::Weight; use sr_primitives::traits::{Convert, Saturating}; use sr_primitives::{Fixed64, Perbill}; use paint_support::traits::{OnUnbalanced, Currency, Get}; diff --git a/runtime/src/parachains.rs b/runtime/src/parachains.rs index e9eced0afbd9..631e665c7604 100644 --- a/runtime/src/parachains.rs +++ b/runtime/src/parachains.rs @@ -25,7 +25,7 @@ use sr_primitives::traits::{ Hash as HashT, BlakeTwo256, Saturating, One, Zero, Dispatchable, AccountIdConversion, }; -use sr_primitives::weights::SimpleDispatchInfo; +use paint_support::weights::SimpleDispatchInfo; use primitives::{ Hash, Balance, parachain::{ diff --git a/runtime/src/slots.rs b/runtime/src/slots.rs index 8d928d7bdc2e..2dcf732f92d2 100644 --- a/runtime/src/slots.rs +++ b/runtime/src/slots.rs @@ -22,7 +22,7 @@ use rstd::{prelude::*, mem::swap, convert::TryInto}; use sr_primitives::traits::{ CheckedSub, StaticLookup, Zero, One, CheckedConversion, Hash, AccountIdConversion, }; -use sr_primitives::weights::SimpleDispatchInfo; +use paint_support::weights::SimpleDispatchInfo; use codec::{Encode, Decode, Codec}; use paint_support::{ decl_module, decl_storage, decl_event, ensure,