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öcher
2021-05-17 16:33:33 +02:00
committed by GitHub
parent 3bcd7f0fd8
commit d458d2622b
14 changed files with 218 additions and 279 deletions
+2
View File
@@ -1283,6 +1283,7 @@ dependencies = [
"polkadot-overseer",
"polkadot-primitives",
"sc-client-api",
"sp-api",
"sp-blockchain",
"sp-consensus",
"sp-core",
@@ -1565,6 +1566,7 @@ dependencies = [
"polkadot-core-primitives",
"polkadot-parachain",
"polkadot-primitives",
"sp-api",
"sp-runtime",
"sp-std",
"sp-trie",