diff --git a/polkadot/runtime/Cargo.toml b/polkadot/runtime/Cargo.toml index 23ce79884f462e66ed2a093dfa37788c6dd8216b..4367f830921b9b4f093a170f9f772b0e950e4cd8 100644 --- a/polkadot/runtime/Cargo.toml +++ b/polkadot/runtime/Cargo.toml @@ -110,4 +110,5 @@ std = [ "safe-mix/std", "babe/std", "babe-primitives/std", + "substrate-session/std", ] diff --git a/polkadot/runtime/src/lib.rs b/polkadot/runtime/src/lib.rs index b0cd30c68c822fc6b01e32cf209bd6da95211a8f..ab2bd878a291da5376517ba60062bdb03b8a2fbe 100644 --- a/polkadot/runtime/src/lib.rs +++ b/polkadot/runtime/src/lib.rs @@ -67,7 +67,6 @@ pub use timestamp::Call as TimestampCall; pub use balances::Call as BalancesCall; pub use attestations::{Call as AttestationsCall, MORE_ATTESTATIONS_IDENTIFIER}; pub use parachains::{Call as ParachainsCall, NEW_HEADS_IDENTIFIER}; -pub use srml_support::StorageValue; /// Implementations of some helper traits passed into runtime modules as associated types. pub mod impls; diff --git a/polkadot/runtime/src/slots.rs b/polkadot/runtime/src/slots.rs index b1b3ee253364532bc555161a9237429b96256959..a145ff159c05b8331571d9741e2de0e1cfc1e345 100644 --- a/polkadot/runtime/src/slots.rs +++ b/polkadot/runtime/src/slots.rs @@ -23,7 +23,7 @@ use sr_primitives::traits::{CheckedSub, StaticLookup, Zero, One, CheckedConversi use sr_primitives::weights::SimpleDispatchInfo; use codec::{Encode, Decode}; use srml_support::{ - decl_module, decl_storage, decl_event, StorageMap, ensure, + decl_module, decl_storage, decl_event, ensure, traits::{Currency, ReservableCurrency, WithdrawReason, ExistenceRequirement, Get}, }; use primitives::parachain::AccountIdConversion;