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é Silva
2021-02-25 09:16:59 +00:00
committed by GitHub
parent ae218bb608
commit 2f6cadf359
2 changed files with 146 additions and 147 deletions
+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 {