mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 08:47:57 +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:
@@ -38,7 +38,6 @@ use frame_support::{
|
||||
dispatch::{DispatchError, GetDispatchInfo},
|
||||
ensure,
|
||||
traits::{Currency, Get, InstanceFilter, IsSubType, IsType, OriginTrait, ReservableCurrency},
|
||||
RuntimeDebug,
|
||||
};
|
||||
use frame_system::{self as system, ensure_signed, pallet_prelude::BlockNumberFor};
|
||||
pub use pallet::*;
|
||||
@@ -46,7 +45,7 @@ use scale_info::TypeInfo;
|
||||
use sp_io::hashing::blake2_256;
|
||||
use sp_runtime::{
|
||||
traits::{Dispatchable, Hash, Saturating, StaticLookup, TrailingZeroInput, Zero},
|
||||
DispatchResult,
|
||||
DispatchResult, RuntimeDebug,
|
||||
};
|
||||
use sp_std::prelude::*;
|
||||
pub use weights::WeightInfo;
|
||||
|
||||
@@ -27,10 +27,9 @@ use frame_support::{
|
||||
assert_noop, assert_ok, derive_impl,
|
||||
dispatch::DispatchError,
|
||||
traits::{ConstU32, ConstU64, Contains},
|
||||
RuntimeDebug,
|
||||
};
|
||||
use sp_core::H256;
|
||||
use sp_runtime::{traits::BlakeTwo256, BuildStorage};
|
||||
use sp_runtime::{traits::BlakeTwo256, BuildStorage, RuntimeDebug};
|
||||
|
||||
type Block = frame_system::mocking::MockBlock<Test>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user