mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 00:01:09 +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:
@@ -107,6 +107,7 @@ use frame_support::{
|
||||
},
|
||||
weights::Weight,
|
||||
};
|
||||
use log;
|
||||
use scale_info::TypeInfo;
|
||||
use sp_npos_elections::{ElectionResult, ExtendedBalance};
|
||||
use sp_runtime::{
|
||||
@@ -309,7 +310,7 @@ pub mod pallet {
|
||||
frame_support::weights::constants::WEIGHT_REF_TIME_PER_SECOND as f32
|
||||
};
|
||||
|
||||
frame_support::log::debug!(
|
||||
log::debug!(
|
||||
target: LOG_TARGET,
|
||||
"election weight {}s ({:?}) // chain's block weight {}s ({:?})",
|
||||
to_seconds(&election_weight),
|
||||
|
||||
@@ -21,8 +21,9 @@ use super::super::LOG_TARGET;
|
||||
use crate::{Config, Pallet};
|
||||
use codec::{Decode, Encode, FullCodec};
|
||||
use frame_support::{
|
||||
pallet_prelude::ValueQuery, traits::StorageVersion, weights::Weight, RuntimeDebug, Twox64Concat,
|
||||
pallet_prelude::ValueQuery, traits::StorageVersion, weights::Weight, Twox64Concat,
|
||||
};
|
||||
use sp_runtime::RuntimeDebug;
|
||||
use sp_std::prelude::*;
|
||||
|
||||
#[derive(Encode, Decode, Clone, Default, RuntimeDebug, PartialEq)]
|
||||
|
||||
Reference in New Issue
Block a user