Skip to content

Commit

Permalink
updat jsonrpsee (paritytech#828)
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatonik authored and serban300 committed Apr 9, 2024
1 parent 1baa6c1 commit 00f54e7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 17 deletions.
6 changes: 3 additions & 3 deletions bridges/relays/clients/ethereum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ bp-eth-poa = { path = "../../../primitives/ethereum-poa" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
headers-relay = { path = "../../generic/headers" }
hex-literal = "0.3"
jsonrpsee-proc-macros = "0.2.0-alpha"
jsonrpsee-types = "0.2.0-alpha"
jsonrpsee-ws-client = "0.2.0-alpha"
jsonrpsee-proc-macros = "0.2.0-alpha.2"
jsonrpsee-types = "0.2.0-alpha.2"
jsonrpsee-ws-client = "0.2.0-alpha.2"
libsecp256k1 = { version = "0.3.4", default-features = false, features = ["hmac"] }
log = "0.4.11"
relay-utils = { path = "../../generic/utils" }
Expand Down
5 changes: 0 additions & 5 deletions bridges/relays/clients/ethereum/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

//! Ethereum node RPC interface.

// The compiler doesn't think we're using the
// code from rpc_api!
#![allow(dead_code)]
#![allow(unused_variables)]

use crate::types::{
Address, Bytes, CallRequest, Header, HeaderWithTransactions, Receipt, SyncState, Transaction, TransactionHash,
H256, U256, U64,
Expand Down
6 changes: 3 additions & 3 deletions bridges/relays/clients/substrate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
async-std = "1.6.5"
async-trait = "0.1.40"
codec = { package = "parity-scale-codec", version = "2.0.0" }
jsonrpsee-proc-macros = "0.2.0-alpha"
jsonrpsee-types = "0.2.0-alpha"
jsonrpsee-ws-client = "0.2.0-alpha"
jsonrpsee-proc-macros = "0.2.0-alpha.2"
jsonrpsee-types = "0.2.0-alpha.2"
jsonrpsee-ws-client = "0.2.0-alpha.2"
log = "0.4.11"
num-traits = "0.2"
rand = "0.7"
Expand Down
2 changes: 1 addition & 1 deletion bridges/relays/clients/substrate/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
5 changes: 0 additions & 5 deletions bridges/relays/clients/substrate/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit 00f54e7

Please sign in to comment.