Update jsonrpsee to 0.2.0-alpha.5 (#914)

* update jsonrpsee to 0.2.0-alpha.5

* cargo fmt
This commit is contained in:
Niklas Adolfsson
2021-04-20 21:03:01 +02:00
committed by Bastian Köcher
parent 5e26ba4999
commit f857771ce8
6 changed files with 10 additions and 12 deletions
@@ -23,8 +23,8 @@ use crate::{ConnectionParams, Error, Result};
use async_std::sync::{Arc, Mutex};
use codec::Decode;
use frame_system::AccountInfo;
use jsonrpsee_types::{jsonrpc::DeserializeOwned, traits::SubscriptionClient};
use jsonrpsee_ws_client::{WsClient as RpcClient, WsClientBuilder as RpcClientBuilder, WsSubscription as Subscription};
use jsonrpsee_ws_client::{traits::SubscriptionClient, v2::params::JsonRpcParams, DeserializeOwned};
use jsonrpsee_ws_client::{Subscription, WsClient as RpcClient, WsClientBuilder as RpcClientBuilder};
use num_traits::Zero;
use pallet_balances::AccountData;
use sp_core::{storage::StorageKey, Bytes};
@@ -267,7 +267,7 @@ impl<C: Chain> Client<C> {
.client
.subscribe(
"grandpa_subscribeJustifications",
jsonrpsee_types::jsonrpc::Params::None,
JsonRpcParams::NoParams,
"grandpa_unsubscribeJustifications",
)
.await?)