mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 12:51:02 +00:00
Companion for paritytech/substrate#12828 (#1939)
* Companion for paritytech/substrate#12764 * Remove `async-trait` * Companion for paritytech/substrate#12828 * carg fmt * Update client/relay-chain-minimal-node/src/network.rs Co-authored-by: Bastian Köcher <git@kchr.de> * update lockfile for {"polkadot", "substrate"} --------- Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -17,6 +17,8 @@ sc-service = { git = "https://github.com/paritytech/substrate", branch = "master
|
||||
sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-network-sync = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sc-network-transactions = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
@@ -38,4 +40,4 @@ cumulus-client-network = { path = "../network" }
|
||||
cumulus-primitives-core = { path = "../../primitives/core" }
|
||||
cumulus-relay-chain-interface = { path = "../relay-chain-interface" }
|
||||
cumulus-relay-chain-inprocess-interface = { path = "../relay-chain-inprocess-interface" }
|
||||
cumulus-relay-chain-minimal-node = { path = "../relay-chain-minimal-node" }
|
||||
cumulus-relay-chain-minimal-node = { path = "../relay-chain-minimal-node" }
|
||||
|
||||
@@ -34,8 +34,13 @@ use polkadot_primitives::{CollatorPair, OccupiedCoreAssumption};
|
||||
use sc_client_api::{
|
||||
Backend as BackendT, BlockBackend, BlockchainEvents, Finalizer, ProofProvider, UsageProvider,
|
||||
};
|
||||
use sc_consensus::{import_queue::ImportQueueService, BlockImport, ImportQueue};
|
||||
use sc_network::{config::SyncMode, NetworkService};
|
||||
use sc_consensus::{
|
||||
import_queue::{ImportQueue, ImportQueueService},
|
||||
BlockImport,
|
||||
};
|
||||
use sc_network::NetworkService;
|
||||
use sc_network_common::config::SyncMode;
|
||||
use sc_network_sync::SyncingService;
|
||||
use sc_network_transactions::TransactionsHandlerController;
|
||||
use sc_service::{Configuration, NetworkStarter, SpawnTaskHandle, TaskManager, WarpSyncParams};
|
||||
use sc_telemetry::{log, TelemetryWorkerHandle};
|
||||
@@ -315,6 +320,7 @@ pub async fn build_network<'a, Block, Client, RCInterface, IQ>(
|
||||
TracingUnboundedSender<sc_rpc::system::Request<Block>>,
|
||||
TransactionsHandlerController<Block::Hash>,
|
||||
NetworkStarter,
|
||||
Arc<SyncingService<Block>>,
|
||||
)>
|
||||
where
|
||||
Block: BlockT,
|
||||
|
||||
Reference in New Issue
Block a user