Skip to content
Snippets Groups Projects
Commit e6824240 authored by Niklas Adolfsson's avatar Niklas Adolfsson Committed by GitHub
Browse files

companion for #11173 (#5264)

* staking miner: update jsonrpsee v0.10.1

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
parent 1297d77c
No related merge requests found
This diff is collapsed.
......@@ -8,7 +8,7 @@ edition = "2021"
codec = { package = "parity-scale-codec", version = "3.0.0" }
clap = { version = "3.1", features = ["derive", "env"] }
tracing-subscriber = { version = "0.3.10", features = ["env-filter"] }
jsonrpsee = { version = "0.8", features = ["ws-client", "macros"] }
jsonrpsee = { version = "0.10.1", features = ["ws-client", "macros"] }
log = "0.4.16"
paste = "1.0.7"
serde = "1.0.136"
......
......@@ -72,17 +72,17 @@ pub trait RpcApi {
///
/// See [`TransactionStatus`](sc_transaction_pool_api::TransactionStatus) for details on
/// transaction life cycle.
//
// TODO: https://github.com/paritytech/jsonrpsee/issues/698.
#[subscription(
name = "author_submitAndWatchExtrinsic" => "author_extrinsicUpdate",
item = TransactionStatus<Hash, Hash>,
unsubscribe = "author_unwatchExtrinsic",
item = TransactionStatus<Hash, Hash>
)]
fn watch_extrinsic(&self, bytes: &Bytes) -> RpcResult<()>;
/// New head subscription.
#[subscription(
name = "chain_subscribeNewHeads" => "newHead",
unsubscribe = "chain_unsubscribeNewHeads",
item = Header
)]
fn subscribe_new_heads(&self) -> RpcResult<()>;
......@@ -90,6 +90,7 @@ pub trait RpcApi {
/// Finalized head subscription.
#[subscription(
name = "chain_subscribeFinalizedHeads" => "chain_finalizedHead",
unsubscribe = "chain_unsubscribeFinalizedHeads",
item = Header
)]
fn subscribe_finalized_heads(&self) -> RpcResult<()>;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment