Companion for Substrate #8148 (#2523)

* Pass shared_authority_set to request_response_config_for_chain

* "Update Substrate"

Co-authored-by: Ashley Ruglys <ashley.ruglys@gmail.com>
Co-authored-by: parity-processbot <>
This commit is contained in:
André SilvaAshley Ruglysparity-processbot
authored and GitHub committed 2021-02-25 09:16:59 +00:00
1 parent ae218bb608
commit 2f6cadf359
2 files changed
+146 -147

No files matched your search

+145 -146
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -629,7 +629,7 @@ pub fn new_full<RuntimeApi, Executor>(
adjust_yamux(&mut config.network);
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")]
fn register_request_response(config: &mut sc_network::config::NetworkConfiguration) -> RequestMultiplexer {