mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 05:31:02 +00:00
Companion for paritytech/substrate#13592 (#6869)
* Move configs
* Start using `NetworkService` traits from `sc-network`
* Fix stuff
* Remove `sc-network-common` as dependency
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -961,8 +961,7 @@ where
|
||||
|
||||
let authority_discovery_service = if auth_or_collator || overseer_enable_anyways {
|
||||
use futures::StreamExt;
|
||||
use sc_network::Event;
|
||||
use sc_network_common::service::NetworkEventStream;
|
||||
use sc_network::{Event, NetworkEventStream};
|
||||
|
||||
let authority_discovery_role = if role.is_authority() {
|
||||
sc_authority_discovery::Role::PublishAndDiscover(keystore_container.keystore())
|
||||
|
||||
@@ -42,7 +42,7 @@ use polkadot_primitives::runtime_api::ParachainHost;
|
||||
use sc_authority_discovery::Service as AuthorityDiscoveryService;
|
||||
use sc_client_api::AuxStore;
|
||||
use sc_keystore::LocalKeystore;
|
||||
use sc_network_common::service::NetworkStateInfo;
|
||||
use sc_network::NetworkStateInfo;
|
||||
use sp_api::ProvideRuntimeApi;
|
||||
use sp_blockchain::HeaderBackend;
|
||||
use sp_consensus_babe::BabeApi;
|
||||
|
||||
Reference in New Issue
Block a user