Unverified Commit 43376f00 authored by Squirrel's avatar Squirrel
Browse files

Revert "cargo fmt"

This reverts commit 5a2c7d85.
parent 5a2c7d85
...@@ -30,36 +30,43 @@ pub use self::overseer::{OverseerGen, OverseerGenArgs, RealOverseerGen}; ...@@ -30,36 +30,43 @@ pub use self::overseer::{OverseerGen, OverseerGenArgs, RealOverseerGen};
#[cfg(all(test, feature = "disputes"))] #[cfg(all(test, feature = "disputes"))]
mod tests; mod tests;
use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider}; use {
use polkadot_node_core_approval_voting::Config as ApprovalVotingConfig; grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider},
use polkadot_node_core_av_store::{Config as AvailabilityConfig, Error as AvailabilityError}; polkadot_node_core_approval_voting::Config as ApprovalVotingConfig,
use polkadot_node_core_candidate_validation::Config as CandidateValidationConfig; polkadot_node_core_av_store::Config as AvailabilityConfig,
use polkadot_node_core_chain_selection::{ polkadot_node_core_av_store::Error as AvailabilityError,
self as chain_selection_subsystem, Config as ChainSelectionConfig, polkadot_node_core_candidate_validation::Config as CandidateValidationConfig,
polkadot_node_core_chain_selection::{
self as chain_selection_subsystem, Config as ChainSelectionConfig,
},
polkadot_node_core_dispute_coordinator::Config as DisputeCoordinatorConfig,
polkadot_overseer::BlockInfo,
sc_client_api::ExecutorProvider,
sp_trie::PrefixedMemoryDB,
tracing::info,
}; };
use polkadot_node_core_dispute_coordinator::Config as DisputeCoordinatorConfig;
use polkadot_overseer::BlockInfo;
use sc_client_api::ExecutorProvider;
use sp_trie::PrefixedMemoryDB;
use tracing::info;
pub use sp_core::traits::SpawnNamed; pub use sp_core::traits::SpawnNamed;
pub use polkadot_overseer::{Handle, Overseer, OverseerConnector, OverseerHandle}; pub use {
pub use polkadot_primitives::v1::ParachainHost; polkadot_overseer::{Handle, Overseer, OverseerConnector, OverseerHandle},
pub use relay_chain_selection::SelectRelayChain; polkadot_primitives::v1::ParachainHost,
pub use sc_client_api::AuxStore; relay_chain_selection::SelectRelayChain,
pub use sp_authority_discovery::AuthorityDiscoveryApi; sc_client_api::AuxStore,
pub use sp_blockchain::HeaderBackend; sp_authority_discovery::AuthorityDiscoveryApi,
pub use sp_consensus_babe::BabeApi; sp_blockchain::HeaderBackend,
sp_consensus_babe::BabeApi,
};
use polkadot_subsystem::jaeger; use polkadot_subsystem::jaeger;
use std::{sync::Arc, time::Duration}; use std::{sync::Arc, time::Duration};
use prometheus_endpoint::Registry; use prometheus_endpoint::Registry;
use service::{KeystoreContainer, RpcHandlers}; use service::KeystoreContainer;
use telemetry::{Telemetry, TelemetryWorker, TelemetryWorkerHandle}; use service::RpcHandlers;
use telemetry::TelemetryWorker;
use telemetry::{Telemetry, TelemetryWorkerHandle};
#[cfg(feature = "rococo-native")] #[cfg(feature = "rococo-native")]
pub use polkadot_client::RococoExecutorDispatch; pub use polkadot_client::RococoExecutorDispatch;
......
...@@ -13,8 +13,7 @@ ...@@ -13,8 +13,7 @@
//! A `RocksDB` instance for storing parachain data; availability data, and approvals. //! A `RocksDB` instance for storing parachain data; availability data, and approvals.
use kvdb::KeyValueDB; use {kvdb::KeyValueDB, std::io, std::path::PathBuf, std::sync::Arc};
use std::{io, path::PathBuf, sync::Arc};
mod upgrade; mod upgrade;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment