polkadot-node-subsystems: ChainApiBackend added + polkadot-debug image version fixed (#2411)

The out-dated version (bad tag) of [polkadot
image](https://github.com/paritytech/polkadot-sdk/blob/ede4a362622dfa69eb167eaa876246b1289f4b41/.gitlab/pipeline/zombienet/cumulus.yml#L31)
([docker
info](https://hub.docker.com/layers/paritypr/polkadot-debug/master/images/sha256:adb1658052cf671b50c90d5cece5c7a131efa1a95978249bd5cb85a5ad654f7a?context=explore))
was used. This PR fixes this.

See also:
https://github.com/paritytech/polkadot-sdk/pull/2411#issuecomment-1822632724

Also adds an abstraction that allows asynchronous backends to be passed to `ChainApiSubsystem`
---------

Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
This commit is contained in:
Michal Kucharczyk
2023-11-22 19:24:11 +01:00
committed by GitHub
parent 0956357b60
commit 49874882cf
12 changed files with 213 additions and 55 deletions
Generated
+6
View File
@@ -4183,6 +4183,7 @@ dependencies = [
"polkadot-core-primitives",
"polkadot-network-bridge",
"polkadot-node-collation-generation",
"polkadot-node-core-chain-api",
"polkadot-node-core-prospective-parachains",
"polkadot-node-core-runtime-api",
"polkadot-node-network-protocol",
@@ -4190,16 +4191,19 @@ dependencies = [
"polkadot-overseer",
"polkadot-primitives",
"sc-authority-discovery",
"sc-client-api",
"sc-network",
"sc-network-common",
"sc-service",
"sc-tracing",
"sc-utils",
"sp-api",
"sp-blockchain",
"sp-consensus",
"sp-consensus-babe",
"sp-runtime",
"substrate-prometheus-endpoint",
"tokio",
"tracing",
]
@@ -12443,6 +12447,7 @@ dependencies = [
"polkadot-node-primitives",
"polkadot-node-subsystem",
"polkadot-node-subsystem-test-helpers",
"polkadot-node-subsystem-types",
"polkadot-primitives",
"sc-client-api",
"sc-consensus-babe",
@@ -12851,6 +12856,7 @@ dependencies = [
"smallvec",
"sp-api",
"sp-authority-discovery",
"sp-blockchain",
"sp-consensus-babe",
"substrate-prometheus-endpoint",
"thiserror",