updat jsonrpsee (#828)

This commit is contained in:
Svyatoslav Nikolsky
2021-03-16 13:02:22 +03:00
committed by Bastian Köcher
parent d749bc3a96
commit 4cd6d128ea
5 changed files with 7 additions and 17 deletions
@@ -102,7 +102,7 @@ impl<C: Chain> Client<C> {
params.port,
);
let mut config = RpcConfig::with_url(&uri);
config.max_subscription_capacity = MAX_SUBSCRIPTION_CAPACITY;
config.max_notifs_per_subscription = MAX_SUBSCRIPTION_CAPACITY;
let client = RpcClient::new(config).await?;
Ok(client)
}
@@ -16,11 +16,6 @@
//! The most generic Substrate node RPC interface.
// The compiler doesn't think we're using the
// code from rpc_api!
#![allow(dead_code)]
#![allow(unused_variables)]
use crate::chain::Chain;
use bp_message_lane::{LaneId, MessageNonce};