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
Showing
- polkadot/Cargo.lock 14 additions, 0 deletionspolkadot/Cargo.lock
- polkadot/Cargo.toml 2 additions, 1 deletionpolkadot/Cargo.toml
- polkadot/node/core/runtime-api/Cargo.toml 2 additions, 4 deletionspolkadot/node/core/runtime-api/Cargo.toml
- polkadot/node/core/runtime-api/src/lib.rs 441 additions, 2 deletionspolkadot/node/core/runtime-api/src/lib.rs
- polkadot/node/subsystem/src/messages.rs 10 additions, 0 deletionspolkadot/node/subsystem/src/messages.rs
- polkadot/primitives/src/v1.rs 1 addition, 1 deletionpolkadot/primitives/src/v1.rs
Please register or sign in to comment