Plumb polkadot backend into cumulus-collator (#269)

* The problem in the nutshell

* Make it compile

* make tests pass

* Update the parachain-upgrade module

* Fix collator tests

Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
Sergei Shulepov
2020-12-21 20:27:54 +01:00
committed by GitHub
parent bfad1abe8b
commit f0315a16d3
11 changed files with 95 additions and 26 deletions
+2
View File
@@ -223,6 +223,7 @@ where
prometheus_registry.as_ref(),
);
let polkadot_backend = polkadot_full_node.backend.clone();
let params = StartCollatorParams {
proposer_factory,
inherent_data_providers: params.inherent_data_providers,
@@ -236,6 +237,7 @@ where
para_id,
collator_key,
polkadot_full_node,
polkadot_backend,
};
start_collator(params).await?;