mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-20 06:55:42 +00:00
deps: update jsonrpsee 0.3.0 (#289)
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ keywords = ["parity", "substrate", "blockchain"]
|
||||
async-std = "1.8.0"
|
||||
futures = { version = "0.3.9", features = ["compat"], package = "futures" }
|
||||
futures01 = { package = "futures", version = "0.1.29" }
|
||||
jsonrpsee-types = "0.2.0"
|
||||
jsonrpsee-types = "0.3.0"
|
||||
log = "0.4.13"
|
||||
serde_json = "1.0.61"
|
||||
thiserror = "1.0.23"
|
||||
|
||||
+6
-5
@@ -48,18 +48,17 @@ use jsonrpsee_types::{
|
||||
params::{
|
||||
Id,
|
||||
JsonRpcParams,
|
||||
JsonRpcSubscriptionParams,
|
||||
SubscriptionId,
|
||||
TwoPointZero,
|
||||
},
|
||||
request::{
|
||||
JsonRpcCallSer,
|
||||
JsonRpcInvalidRequest,
|
||||
JsonRpcNotification,
|
||||
JsonRpcNotificationSer,
|
||||
},
|
||||
response::{
|
||||
JsonRpcResponse,
|
||||
JsonRpcSubscriptionResponseAlloc,
|
||||
},
|
||||
response::JsonRpcResponse,
|
||||
},
|
||||
DeserializeOwned,
|
||||
Error as JsonRpseeError,
|
||||
@@ -210,7 +209,9 @@ impl SubxtClient {
|
||||
while let Some(Ok(response)) = from_back.next().await
|
||||
{
|
||||
let notif = serde_json::from_str::<
|
||||
JsonRpcSubscriptionResponseAlloc<JsonValue>,
|
||||
JsonRpcNotification<
|
||||
JsonRpcSubscriptionParams<_>,
|
||||
>,
|
||||
>(
|
||||
&response
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user