Unverified Commit 5a2c7d85 authored by Squirrel's avatar Squirrel
Browse files

cargo fmt

parent c35eb4fa
Pipeline #163533 failed with stages
in 35 minutes and 50 seconds
...@@ -30,43 +30,36 @@ pub use self::overseer::{OverseerGen, OverseerGenArgs, RealOverseerGen}; ...@@ -30,43 +30,36 @@ pub use self::overseer::{OverseerGen, OverseerGenArgs, RealOverseerGen};
#[cfg(all(test, feature = "disputes"))] #[cfg(all(test, feature = "disputes"))]
mod tests; mod tests;
use { use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider};
grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider}, use polkadot_node_core_approval_voting::Config as ApprovalVotingConfig;
polkadot_node_core_approval_voting::Config as ApprovalVotingConfig, use polkadot_node_core_av_store::{Config as AvailabilityConfig, Error as AvailabilityError};
polkadot_node_core_av_store::Config as AvailabilityConfig, use polkadot_node_core_candidate_validation::Config as CandidateValidationConfig;
polkadot_node_core_av_store::Error as AvailabilityError, use polkadot_node_core_chain_selection::{
polkadot_node_core_candidate_validation::Config as CandidateValidationConfig, self as chain_selection_subsystem, Config as ChainSelectionConfig,
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 { pub use polkadot_overseer::{Handle, Overseer, OverseerConnector, OverseerHandle};
polkadot_overseer::{Handle, Overseer, OverseerConnector, OverseerHandle}, pub use polkadot_primitives::v1::ParachainHost;
polkadot_primitives::v1::ParachainHost, pub use relay_chain_selection::SelectRelayChain;
relay_chain_selection::SelectRelayChain, pub use sc_client_api::AuxStore;
sc_client_api::AuxStore, pub use sp_authority_discovery::AuthorityDiscoveryApi;
sp_authority_discovery::AuthorityDiscoveryApi, pub use sp_blockchain::HeaderBackend;
sp_blockchain::HeaderBackend, pub use sp_consensus_babe::BabeApi;
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; use service::{KeystoreContainer, RpcHandlers};
use service::RpcHandlers; use telemetry::{Telemetry, TelemetryWorker, TelemetryWorkerHandle};
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,7 +13,8 @@ ...@@ -13,7 +13,8 @@
//! 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, std::io, std::path::PathBuf, std::sync::Arc}; use kvdb::KeyValueDB;
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