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
+3
View File
@@ -187,6 +187,8 @@ where
);
let spawner = task_manager.spawn_handle();
let polkadot_backend = polkadot_full_node.backend.clone();
let params = StartCollatorParams {
para_id: id,
block_import: client.clone(),
@@ -200,6 +202,7 @@ where
polkadot_full_node,
spawner,
backend,
polkadot_backend,
};
start_collator(params).await?;