Implement the Runtime API subsystem (#1494)

* type defaults for ParachainHost

* add ValidationCode message

* implement core loop of runtime API subsystem

* subsystem trait implementation for runtime API subsystem

* implement a mock runtime API

* some tests that ensure requests are forwarded to runtime API correctly

* fix dependency grumbles

* improve RuntimeApiError API
This commit is contained in:
Robert Habermeier
2020-07-30 14:15:00 -04:00
committed by GitHub
parent 80303e99ea
commit 652ae86afd
6 changed files with 470 additions and 8 deletions
+14
View File
@@ -4661,6 +4661,20 @@ dependencies = [
"wasm-timer",
]
[[package]]
name = "polkadot-node-core-runtime-api"
version = "0.1.0"
dependencies = [
"assert_matches",
"futures 0.3.5",
"polkadot-node-primitives",
"polkadot-node-subsystem",
"polkadot-primitives",
"sp-api",
"sp-blockchain",
"sp-core",
]
[[package]]
name = "polkadot-node-primitives"
version = "0.1.0"