hacky update jsonrpsee

This commit is contained in:
Niklas
2021-12-22 13:19:54 +01:00
parent 2bfc3898b7
commit bca14735ab
8 changed files with 95 additions and 81 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ keywords = ["parity", "substrate", "blockchain"]
[dependencies]
async-std = { version = "1.8.0", features = ["tokio1"] }
futures = "0.3.9"
jsonrpsee = { git = "https://github.com/paritytech/jsonrpsee/", branch = "extract-async-client", features = ["client"] }
jsonrpsee = { git = "https://github.com/paritytech/jsonrpsee/", branch = "na-fix-core-client-feature", features = ["async-client"] }
log = "0.4.13"
thiserror = "1.0.23"
serde_json = "1"
+6 -8
View File
@@ -31,14 +31,12 @@ use futures::{
sink::SinkExt,
stream::StreamExt,
};
use jsonrpsee::{
core_client::Client as JsonRpcClient,
types::{
async_trait,
traits::{
TransportReceiver,
TransportSender,
},
use jsonrpsee::core::{
async_trait,
client::Client as JsonRpcClient,
traits::{
TransportReceiver,
TransportSender,
},
};
use sc_network::config::TransportConfig;