Unverified Commit f4c533ac authored by André Silva's avatar André Silva Committed by GitHub
Browse files

Companion for Substrate #8148 (#2523)



* Pass shared_authority_set to request_response_config_for_chain

* "Update Substrate"

Co-authored-by: default avatarAshley Ruglys <ashley.ruglys@gmail.com>
Co-authored-by: parity-processbot <>
parent 0e790c09
Pipeline #125772 passed with stages
in 34 minutes and 5 seconds
This diff is collapsed.
...@@ -629,7 +629,7 @@ pub fn new_full<RuntimeApi, Executor>( ...@@ -629,7 +629,7 @@ pub fn new_full<RuntimeApi, Executor>(
adjust_yamux(&mut config.network); adjust_yamux(&mut config.network);
config.network.request_response_protocols.push(sc_finality_grandpa_warp_sync::request_response_config_for_chain( config.network.request_response_protocols.push(sc_finality_grandpa_warp_sync::request_response_config_for_chain(
&config, task_manager.spawn_handle(), backend.clone(), &config, task_manager.spawn_handle(), backend.clone(), import_setup.1.shared_authority_set().clone(),
)); ));
#[cfg(feature = "real-overseer")] #[cfg(feature = "real-overseer")]
fn register_request_response(config: &mut sc_network::config::NetworkConfiguration) -> RequestMultiplexer { fn register_request_response(config: &mut sc_network::config::NetworkConfiguration) -> RequestMultiplexer {
......
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