Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 75d987b

Browse files
authored
Bump jsonrpc-* dependencies to v15 (#7157)
* Bump jsonrpc-* dependencies to v15 * Remove unused imports
1 parent 6e47173 commit 75d987b

File tree

18 files changed

+75
-77
lines changed

18 files changed

+75
-77
lines changed

Cargo.lock

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node-template/node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ sc-client-api = { version = "2.0.0-rc6", path = "../../../client/api" }
3535
sp-runtime = { version = "2.0.0-rc6", path = "../../../primitives/runtime" }
3636

3737
# These dependencies are used for the node template's RPCs
38-
jsonrpc-core = "14.0.3"
38+
jsonrpc-core = "15.0.0"
3939
sc-rpc = { version = "2.0.0-rc6", path = "../../../client/rpc" }
4040
sp-api = { version = "2.0.0-rc6", path = "../../../primitives/api" }
4141
sc-rpc-api = { version = "0.8.0-rc6", path = "../../../client/rpc-api" }

bin/node/browser-testing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "Apache-2.0"
99
[dependencies]
1010
futures-timer = "3.0.2"
1111
libp2p = { version = "0.28.1", default-features = false }
12-
jsonrpc-core = "14.2.0"
12+
jsonrpc-core = "15.0.0"
1313
serde = "1.0.106"
1414
serde_json = "1.0.48"
1515
wasm-bindgen = { version = "=0.2.67", features = ["serde-serialize"] }

bin/node/rpc-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1313
[dependencies]
1414
futures = "0.1.29"
1515
hyper = "0.12.35"
16-
jsonrpc-core-client = { version = "14.2.0", default-features = false, features = ["http"] }
16+
jsonrpc-core-client = { version = "15.0.0", default-features = false, features = ["http"] }
1717
log = "0.4.8"
1818
node-primitives = { version = "2.0.0-rc6", path = "../primitives" }
1919
sp-tracing = { version = "2.0.0-rc6", path = "../../../primitives/tracing" }

bin/node/rpc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repository = "https://github.com/paritytech/substrate/"
1111
targets = ["x86_64-unknown-linux-gnu"]
1212

1313
[dependencies]
14-
jsonrpc-core = "14.2.0"
14+
jsonrpc-core = "15.0.0"
1515
node-primitives = { version = "2.0.0-rc6", path = "../primitives" }
1616
node-runtime = { version = "2.0.0-rc6", path = "../runtime" }
1717
pallet-contracts-rpc = { version = "0.8.0-rc6", path = "../../../frame/contracts/rpc/" }

client/consensus/babe/rpc/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ targets = ["x86_64-unknown-linux-gnu"]
1414
[dependencies]
1515
sc-consensus-babe = { version = "0.8.0-rc6", path = "../" }
1616
sc-rpc-api = { version = "0.8.0-rc6", path = "../../../rpc-api" }
17-
jsonrpc-core = "14.2.0"
18-
jsonrpc-core-client = "14.2.0"
19-
jsonrpc-derive = "14.2.1"
17+
jsonrpc-core = "15.0.0"
18+
jsonrpc-core-client = "15.0.0"
19+
jsonrpc-derive = "15.0.0"
2020
sp-consensus-babe = { version = "0.8.0-rc6", path = "../../../../primitives/consensus/babe" }
2121
serde = { version = "1.0.104", features=["derive"] }
2222
sp-blockchain = { version = "2.0.0-rc6", path = "../../../../primitives/blockchain" }

client/consensus/manual-seal/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ targets = ["x86_64-unknown-linux-gnu"]
1414
[dependencies]
1515
derive_more = "0.99.2"
1616
futures = "0.3.4"
17-
jsonrpc-core = "14.2.0"
18-
jsonrpc-core-client = "14.2.0"
19-
jsonrpc-derive = "14.2.1"
17+
jsonrpc-core = "15.0.0"
18+
jsonrpc-core-client = "15.0.0"
19+
jsonrpc-derive = "15.0.0"
2020
log = "0.4.8"
2121
parking_lot = "0.10.0"
2222
serde = { version = "1.0", features=["derive"] }

client/finality-grandpa/rpc/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ sp-blockchain = { version = "2.0.0-rc6", path = "../../../primitives/blockchain"
1414
sp-core = { version = "2.0.0-rc6", path = "../../../primitives/core" }
1515
sp-runtime = { version = "2.0.0-rc6", path = "../../../primitives/runtime" }
1616
finality-grandpa = { version = "0.12.3", features = ["derive-codec"] }
17-
jsonrpc-core = "14.2.0"
18-
jsonrpc-core-client = "14.2.0"
19-
jsonrpc-derive = "14.2.1"
20-
jsonrpc-pubsub = "14.2.0"
17+
jsonrpc-core = "15.0.0"
18+
jsonrpc-core-client = "15.0.0"
19+
jsonrpc-derive = "15.0.0"
20+
jsonrpc-pubsub = "15.0.0"
2121
futures = { version = "0.3.4", features = ["compat"] }
2222
serde = { version = "1.0.105", features = ["derive"] }
2323
serde_json = "1.0.50"

client/rpc-api/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ targets = ["x86_64-unknown-linux-gnu"]
1515
codec = { package = "parity-scale-codec", version = "1.3.4" }
1616
derive_more = "0.99.2"
1717
futures = { version = "0.3.1", features = ["compat"] }
18-
jsonrpc-core = "14.2.0"
19-
jsonrpc-core-client = "14.2.0"
20-
jsonrpc-derive = "14.2.1"
21-
jsonrpc-pubsub = "14.2.0"
18+
jsonrpc-core = "15.0.0"
19+
jsonrpc-core-client = "15.0.0"
20+
jsonrpc-derive = "15.0.0"
21+
jsonrpc-pubsub = "15.0.0"
2222
log = "0.4.8"
2323
parking_lot = "0.10.0"
2424
sp-core = { version = "2.0.0-rc6", path = "../../primitives/core" }

client/rpc-api/src/chain/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
pub mod error;
2222

2323
use jsonrpc_core::Result as RpcResult;
24-
use jsonrpc_core::futures::Future;
2524
use jsonrpc_derive::rpc;
2625
use jsonrpc_pubsub::{typed::Subscriber, SubscriptionId};
2726
use sp_rpc::{number::NumberOrHex, list::ListOrValue};

0 commit comments

Comments
 (0)