mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Get rid of wildcard imports (#1916)
* Get rid of wildcard imports * Update core/service/src/lib.rs Co-Authored-By: cmichi <mich@elmueller.net> * Update core/client/src/client.rs Co-Authored-By: cmichi <mich@elmueller.net> * Import by namespace
This commit is contained in:
committed by
Bastian Köcher
parent
66bc864f29
commit
c485eb8fdc
@@ -25,7 +25,7 @@ use tokio::runtime::TaskExecutor;
|
||||
use sysinfo::{get_current_pid, ProcessExt, System, SystemExt};
|
||||
use network::{SyncState, SyncProvider};
|
||||
use client::{backend::Backend, BlockchainEvents};
|
||||
use substrate_telemetry::*;
|
||||
use substrate_telemetry::{telemetry, SUBSTRATE_INFO};
|
||||
use log::{info, warn};
|
||||
|
||||
use runtime_primitives::generic::BlockId;
|
||||
|
||||
@@ -59,7 +59,7 @@ use log::info;
|
||||
use lazy_static::lazy_static;
|
||||
|
||||
use futures::Future;
|
||||
use substrate_telemetry::TelemetryEndpoints;
|
||||
use substrate_telemetry::{telemetry, TelemetryEndpoints};
|
||||
|
||||
const MAX_NODE_NAME_LENGTH: usize = 32;
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ use crate::in_mem;
|
||||
use crate::block_builder::{self, api::BlockBuilder as BlockBuilderAPI};
|
||||
use crate::genesis;
|
||||
use consensus;
|
||||
use substrate_telemetry::*;
|
||||
use substrate_telemetry::{telemetry, SUBSTRATE_INFO};
|
||||
|
||||
use log::{info, trace, warn};
|
||||
use error_chain::bail;
|
||||
|
||||
@@ -52,7 +52,7 @@ use srml_aura::{
|
||||
InherentType as AuraInherent, AuraInherentData,
|
||||
timestamp::{TimestampInherentData, InherentType as TimestampInherent, InherentError as TIError}
|
||||
};
|
||||
use substrate_telemetry::*;
|
||||
use substrate_telemetry::{telemetry, CONSENSUS_TRACE, CONSENSUS_DEBUG, CONSENSUS_WARN, CONSENSUS_INFO};
|
||||
|
||||
use aura_slots::{CheckedHeader, SlotWorker, SlotInfo, SlotCompatible};
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ use runtime_primitives::traits::{
|
||||
use fg_primitives::GrandpaApi;
|
||||
use runtime_primitives::generic::BlockId;
|
||||
use substrate_primitives::{ed25519, H256, Ed25519AuthorityId, Blake2Hasher};
|
||||
use substrate_telemetry::*;
|
||||
use substrate_telemetry::{telemetry, CONSENSUS_TRACE, CONSENSUS_DEBUG, CONSENSUS_WARN};
|
||||
|
||||
use grandpa::Error as GrandpaError;
|
||||
use grandpa::{voter, round::State as RoundState, BlockNumberOps, VoterSet};
|
||||
|
||||
@@ -41,7 +41,7 @@ use exit_future::Signal;
|
||||
pub use tokio::runtime::TaskExecutor;
|
||||
use substrate_executor::NativeExecutor;
|
||||
use parity_codec::{Encode, Decode};
|
||||
use tel::*;
|
||||
use tel::{telemetry, SUBSTRATE_INFO};
|
||||
|
||||
pub use self::error::{ErrorKind, Error};
|
||||
pub use config::{Configuration, Roles, PruningMode};
|
||||
|
||||
Reference in New Issue
Block a user