mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 04:41:02 +00:00
Restructure frame_support macro related exports (#14745)
* make reexports private * make reexports private 2 * make reexports private for runtime-benchmarking * make reexports private for try-runtime * fix for try-runtime * make reexports private for tests * fmt * make reexports private for tests * make reexports private for experimental * fix beefy * fix ui test * fix ui test * fix benches * ".git/.scripts/commands/fmt/fmt.sh" * fix contracts use * wip * wip * do not reexport sp_api::metadata_ir * fix CI checks * fix support tests * ".git/.scripts/commands/fmt/fmt.sh" * Update frame/support/src/lib.rs Co-authored-by: Bastian Köcher <git@kchr.de> * import codec directly * fmt * fix node-cli tests --------- Co-authored-by: command-bot <> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -30,7 +30,6 @@ use frame_support::{
|
||||
StorageMapShim, StoredMap, WhitelistedStorageKeys,
|
||||
},
|
||||
weights::{IdentityFee, Weight},
|
||||
RuntimeDebug,
|
||||
};
|
||||
use frame_system::{self as system, RawOrigin};
|
||||
use pallet_transaction_payment::{ChargeTransactionPayment, CurrencyAdapter, Multiplier};
|
||||
@@ -39,7 +38,8 @@ use sp_core::{hexdisplay::HexDisplay, H256};
|
||||
use sp_io;
|
||||
use sp_runtime::{
|
||||
traits::{BadOrigin, IdentityLookup, SignedExtension, Zero},
|
||||
ArithmeticError, BuildStorage, DispatchError, DispatchResult, FixedPointNumber, TokenError,
|
||||
ArithmeticError, BuildStorage, DispatchError, DispatchResult, FixedPointNumber, RuntimeDebug,
|
||||
TokenError,
|
||||
};
|
||||
use std::collections::BTreeSet;
|
||||
|
||||
|
||||
@@ -20,12 +20,9 @@
|
||||
use crate::{Config, CreditOf, Event, Pallet};
|
||||
use codec::{Decode, Encode, MaxEncodedLen};
|
||||
use core::ops::BitOr;
|
||||
use frame_support::{
|
||||
traits::{Imbalance, LockIdentifier, OnUnbalanced, WithdrawReasons},
|
||||
RuntimeDebug,
|
||||
};
|
||||
use frame_support::traits::{Imbalance, LockIdentifier, OnUnbalanced, WithdrawReasons};
|
||||
use scale_info::TypeInfo;
|
||||
use sp_runtime::Saturating;
|
||||
use sp_runtime::{RuntimeDebug, Saturating};
|
||||
|
||||
/// Simplified reasons for withdrawing balance.
|
||||
#[derive(Encode, Decode, Clone, Copy, PartialEq, Eq, RuntimeDebug, MaxEncodedLen, TypeInfo)]
|
||||
|
||||
Reference in New Issue
Block a user