mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
Enable substrate-session std feature and remove unused traits (#456)
This commit is contained in:
@@ -110,4 +110,5 @@ std = [
|
||||
"safe-mix/std",
|
||||
"babe/std",
|
||||
"babe-primitives/std",
|
||||
"substrate-session/std",
|
||||
]
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user