companion for #8783 - jsonrpsee (#4344)

* add jsonrpsee glue code

* diener --substrate dp-jsonrpsee-integration-2

* cargo fmt

* update substrate

* fix build

* update substrate

* fix tests

* update substrate

* update substrate

* revert Cargo.toml

* revert changes in Cargo.toml

* jsonrpsee v0.11

* fix staking miner

* chore: update jsonrpsee v0.12

* update companion

* update companion

* fix changes in substrate

* revert requires_full_sync removal

* fix: read WS address from polkadot output

* fit nits

* fix more nits

* update lockfile for {"substrate"}

* cargo fmt

Co-authored-by: parity-processbot <>
This commit is contained in:
Niklas Adolfsson
2022-05-10 12:13:38 +02:00
committed by GitHub
parent 2a89e5612b
commit 804d0f38a5
20 changed files with 496 additions and 750 deletions
+3 -3
View File
@@ -77,7 +77,7 @@ pub trait RpcApi {
unsubscribe = "author_unwatchExtrinsic",
item = TransactionStatus<Hash, Hash>
)]
fn watch_extrinsic(&self, bytes: &Bytes) -> RpcResult<()>;
fn watch_extrinsic(&self, bytes: &Bytes);
/// New head subscription.
#[subscription(
@@ -85,7 +85,7 @@ pub trait RpcApi {
unsubscribe = "chain_unsubscribeNewHeads",
item = Header
)]
fn subscribe_new_heads(&self) -> RpcResult<()>;
fn subscribe_new_heads(&self);
/// Finalized head subscription.
#[subscription(
@@ -93,7 +93,7 @@ pub trait RpcApi {
unsubscribe = "chain_unsubscribeFinalizedHeads",
item = Header
)]
fn subscribe_finalized_heads(&self) -> RpcResult<()>;
fn subscribe_finalized_heads(&self);
}
/// Wraps a shared web-socket JSON-RPC client that can be cloned.