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 ShulepovandBastian Köcher authored and GitHub committed 2020-12-21 20:27:54 +01:00
1 parent c5d184f748
commit 0a5b53cdce
11 files changed
+95 -26

No files matched your search

+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?;