Introduce CollectCollationInfo runtime api (#443)

* Introduce `CollectCollationInfo` runtime api

Instead of using well known keys to communicate information about a
collation between the runtime and the collator, we now use a runtime api
for this.

* Fixes bug

* Apply suggestions from code review

Co-authored-by: Sergei Shulepov <sergei@parity.io>

* Doc update

Co-authored-by: Sergei Shulepov <sergei@parity.io>
This commit is contained in:
Bastian KöcherandSergei Shulepov authored and GitHub committed 2021-05-17 16:33:33 +02:00
1 parent 5245525bb2
commit 6674430f6e
14 files changed
+218 -279

No files matched your search

-1
View File
@@ -266,7 +266,6 @@ where
relay_chain_full_node.with_client(polkadot_test_service::TestClient);
let params = StartCollatorParams {
backend: params.backend,
block_status: client.clone(),
announce_block,
client: client.clone(),