Introduce async runtime calling trait for runtime-api subsystem (#5782)
* Implement OverseerRuntimeClient * blockchainevents * Update patches * Finish merging rntime-api subsystem * First version that is able to produce blocks * Make OverseerRuntimeClient async * Move overseer notification stream forwarding to cumulus * Remove unused imports * Add more logging to collator-protocol * Lockfile * Use hashes in OverseerRuntimeClient * Move OverseerRuntimeClient into extra module * Fix old session info call and make HeadSupportsParachain async * Improve naming of trait * Cleanup * Remove unused From trait implementation * Remove unwanted debug print * Move trait to polkadot-node-subsystem-types * Add sections to runtime client Co-authored-by:Davide Galassi <davxy@datawok.net> * Reorder methods * Fix spelling * Fix spacing in Cargo.toml Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> * Remove unused babe methods Co-authored-by:
Davide Galassi <davxy@datawok.net> Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
Showing
- polkadot/Cargo.lock 9 additions, 2 deletionspolkadot/Cargo.lock
- polkadot/node/core/approval-voting/Cargo.toml 1 addition, 0 deletionspolkadot/node/core/approval-voting/Cargo.toml
- polkadot/node/core/approval-voting/src/tests.rs 3 additions, 1 deletionpolkadot/node/core/approval-voting/src/tests.rs
- polkadot/node/core/runtime-api/Cargo.toml 4 additions, 3 deletionspolkadot/node/core/runtime-api/Cargo.toml
- polkadot/node/core/runtime-api/src/lib.rs 19 additions, 38 deletionspolkadot/node/core/runtime-api/src/lib.rs
- polkadot/node/core/runtime-api/src/tests.rs 12 additions, 6 deletionspolkadot/node/core/runtime-api/src/tests.rs
- polkadot/node/overseer/Cargo.toml 1 addition, 0 deletionspolkadot/node/overseer/Cargo.toml
- polkadot/node/overseer/examples/minimal-example.rs 4 additions, 1 deletionpolkadot/node/overseer/examples/minimal-example.rs
- polkadot/node/overseer/src/lib.rs 16 additions, 21 deletionspolkadot/node/overseer/src/lib.rs
- polkadot/node/overseer/src/tests.rs 3 additions, 1 deletionpolkadot/node/overseer/src/tests.rs
- polkadot/node/subsystem-test-helpers/src/lib.rs 3 additions, 1 deletionpolkadot/node/subsystem-test-helpers/src/lib.rs
- polkadot/node/subsystem-types/Cargo.toml 4 additions, 0 deletionspolkadot/node/subsystem-types/Cargo.toml
- polkadot/node/subsystem-types/src/lib.rs 3 additions, 0 deletionspolkadot/node/subsystem-types/src/lib.rs
- polkadot/node/subsystem-types/src/runtime_client.rs 384 additions, 0 deletionspolkadot/node/subsystem-types/src/runtime_client.rs
- polkadot/rustfmt.toml 1 addition, 0 deletionspolkadot/rustfmt.toml
Please register or sign in to comment