Companion PR for refactoring priority groups (#2095)

* Companion PR for refactoring priority groups

* Fix non reserved node

* Try fix tests

* Missing import

* Fix warning

* Change protocols order

* Fix test

* Renames

* Update syn dependency to make it compile again after merging master

* "Update Substrate"

Co-authored-by: parity-processbot <>
This commit is contained in:
Pierre Krieger
2021-01-07 15:25:09 +01:00
committed by GitHub
parent 2a05e69210
commit 5ce24c4962
4 changed files with 249 additions and 214 deletions
+5 -2
View File
@@ -562,9 +562,12 @@ pub fn new_full<RuntimeApi, Executor>(
let shared_voter_state = rpc_setup;
// Note: GrandPa is pushed before the Polkadot-specific protocols. This doesn't change
// anything in terms of behaviour, but makes the logs more consistent with the other
// Substrate nodes.
config.network.extra_sets.push(grandpa::grandpa_peers_set_config());
#[cfg(feature = "real-overseer")]
config.network.notifications_protocols.extend(polkadot_network_bridge::notifications_protocol_info());
config.network.notifications_protocols.push(grandpa::GRANDPA_PROTOCOL_NAME.into());
config.network.extra_sets.extend(polkadot_network_bridge::peers_sets_info());
let (network, network_status_sinks, system_rpc_tx, network_starter) =
service::build_network(service::BuildNetworkParams {