From d374508891e6981a7eb731e4926b6739bff7e8db Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 15 Aug 2023 09:31:34 +0000 Subject: [PATCH] Bump jsonrpsee from 0.16.2 to 0.19.0 Bumps [jsonrpsee](https://github.com/paritytech/jsonrpsee) from 0.16.2 to 0.19.0. - [Release notes](https://github.com/paritytech/jsonrpsee/releases) - [Changelog](https://github.com/paritytech/jsonrpsee/blob/master/CHANGELOG.md) - [Commits](https://github.com/paritytech/jsonrpsee/compare/v0.16.2...v0.19.0) --- updated-dependencies: - dependency-name: jsonrpsee dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 174 ++++++++++++++++---- client/relay-chain-rpc-interface/Cargo.toml | 2 +- parachain-template/node/Cargo.toml | 2 +- polkadot-parachain/Cargo.toml | 2 +- test/service/Cargo.toml | 2 +- 5 files changed, 143 insertions(+), 39 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bf63dae17e36..f88ecd66fdb6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3131,7 +3131,7 @@ dependencies = [ "async-trait", "cumulus-primitives-core", "futures", - "jsonrpsee-core", + "jsonrpsee-core 0.16.2", "parity-scale-codec", "polkadot-overseer", "sc-client-api", @@ -3187,7 +3187,7 @@ dependencies = [ "cumulus-relay-chain-interface", "futures", "futures-timer", - "jsonrpsee", + "jsonrpsee 0.19.0", "lru 0.11.0", "parity-scale-codec", "polkadot-overseer", @@ -3315,7 +3315,7 @@ dependencies = [ "frame-system", "frame-system-rpc-runtime-api", "futures", - "jsonrpsee", + "jsonrpsee 0.19.0", "pallet-im-online", "pallet-timestamp", "pallet-transaction-payment", @@ -4290,7 +4290,7 @@ dependencies = [ "async-recursion", "futures", "indicatif", - "jsonrpsee", + "jsonrpsee 0.16.2", "log", "parity-scale-codec", "serde", @@ -5409,15 +5409,27 @@ version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d291e3a5818a2384645fd9756362e6d89cf0541b0b916fa7702ea4a9833608e" dependencies = [ - "jsonrpsee-core", + "jsonrpsee-core 0.16.2", "jsonrpsee-http-client", "jsonrpsee-proc-macros", - "jsonrpsee-server", - "jsonrpsee-types", - "jsonrpsee-ws-client", + "jsonrpsee-server 0.16.2", + "jsonrpsee-types 0.16.2", + "jsonrpsee-ws-client 0.16.2", "tracing", ] +[[package]] +name = "jsonrpsee" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5f3783308bddc49d0218307f66a09330c106fbd792c58bac5c8dc294fdd0f98" +dependencies = [ + "jsonrpsee-core 0.19.0", + "jsonrpsee-server 0.19.0", + "jsonrpsee-types 0.19.0", + "jsonrpsee-ws-client 0.19.0", +] + [[package]] name = "jsonrpsee-client-transport" version = "0.16.2" @@ -5426,8 +5438,8 @@ checksum = "965de52763f2004bc91ac5bcec504192440f0b568a5d621c59d9dbd6f886c3fb" dependencies = [ "futures-util", "http", - "jsonrpsee-core", - "jsonrpsee-types", + "jsonrpsee-core 0.16.2", + "jsonrpsee-types 0.16.2", "pin-project", "rustls-native-certs", "soketto", @@ -5439,6 +5451,25 @@ dependencies = [ "webpki-roots 0.22.2", ] +[[package]] +name = "jsonrpsee-client-transport" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abc5630e4fa0096f00ec7b44d520701fda4504170cb85e22dca603ae5d7ad0d7" +dependencies = [ + "futures-util", + "http", + "jsonrpsee-core 0.19.0", + "pin-project", + "rustls-native-certs", + "soketto", + "thiserror", + "tokio", + "tokio-rustls 0.24.1", + "tokio-util", + "tracing", +] + [[package]] name = "jsonrpsee-core" version = "0.16.2" @@ -5455,7 +5486,7 @@ dependencies = [ "futures-util", "globset", "hyper", - "jsonrpsee-types", + "jsonrpsee-types 0.16.2", "parking_lot 0.12.1", "rand 0.8.5", "rustc-hash", @@ -5467,6 +5498,33 @@ dependencies = [ "tracing", ] +[[package]] +name = "jsonrpsee-core" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aaa4c4d5fb801dcc316d81f76422db259809037a86b3194ae538dd026b05ed7" +dependencies = [ + "anyhow", + "async-lock", + "async-trait", + "beef", + "futures-timer", + "futures-util", + "globset", + "hyper", + "jsonrpsee-types 0.19.0", + "parking_lot 0.12.1", + "rand 0.8.5", + "rustc-hash", + "serde", + "serde_json", + "soketto", + "thiserror", + "tokio", + "tokio-stream", + "tracing", +] + [[package]] name = "jsonrpsee-http-client" version = "0.16.2" @@ -5476,8 +5534,8 @@ dependencies = [ "async-trait", "hyper", "hyper-rustls 0.23.0", - "jsonrpsee-core", - "jsonrpsee-types", + "jsonrpsee-core 0.16.2", + "jsonrpsee-types 0.16.2", "rustc-hash", "serde", "serde_json", @@ -5509,8 +5567,28 @@ dependencies = [ "futures-util", "http", "hyper", - "jsonrpsee-core", - "jsonrpsee-types", + "jsonrpsee-core 0.16.2", + "jsonrpsee-types 0.16.2", + "serde", + "serde_json", + "soketto", + "tokio", + "tokio-stream", + "tokio-util", + "tower", + "tracing", +] + +[[package]] +name = "jsonrpsee-server" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e79d78cfd5abd8394da10753723093c3ff64391602941c9c4b1d80a3414fd53" +dependencies = [ + "futures-util", + "hyper", + "jsonrpsee-core 0.19.0", + "jsonrpsee-types 0.19.0", "serde", "serde_json", "soketto", @@ -5535,6 +5613,20 @@ dependencies = [ "tracing", ] +[[package]] +name = "jsonrpsee-types" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00aa7cc87bc42e04e26c8ac3e7186142f7fd2949c763d9b6a7e64a69672d8fb2" +dependencies = [ + "anyhow", + "beef", + "serde", + "serde_json", + "thiserror", + "tracing", +] + [[package]] name = "jsonrpsee-ws-client" version = "0.16.2" @@ -5542,9 +5634,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b83daeecfc6517cfe210df24e570fb06213533dfb990318fae781f4c7119dd9" dependencies = [ "http", - "jsonrpsee-client-transport", - "jsonrpsee-core", - "jsonrpsee-types", + "jsonrpsee-client-transport 0.16.2", + "jsonrpsee-core 0.16.2", + "jsonrpsee-types 0.16.2", +] + +[[package]] +name = "jsonrpsee-ws-client" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c71b2597ec1c958c6d5bc94bb61b44d74eb28e69dc421731ab0035706f13882" +dependencies = [ + "http", + "jsonrpsee-client-transport 0.19.0", + "jsonrpsee-core 0.19.0", + "jsonrpsee-types 0.19.0", ] [[package]] @@ -6570,7 +6674,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#e8979eb6f37f8a10f87ddd6518555f9f02660b59" dependencies = [ "anyhow", - "jsonrpsee", + "jsonrpsee 0.16.2", "parity-scale-codec", "serde", "sp-api", @@ -8313,7 +8417,7 @@ name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#e8979eb6f37f8a10f87ddd6518555f9f02660b59" dependencies = [ - "jsonrpsee", + "jsonrpsee 0.16.2", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "sp-api", @@ -8483,7 +8587,7 @@ dependencies = [ "frame-benchmarking", "frame-benchmarking-cli", "futures", - "jsonrpsee", + "jsonrpsee 0.19.0", "log", "pallet-transaction-payment-rpc", "parachain-template-runtime", @@ -9811,7 +9915,7 @@ dependencies = [ "futures", "glutton-runtime", "hex-literal", - "jsonrpsee", + "jsonrpsee 0.19.0", "log", "nix 0.26.2", "pallet-transaction-payment-rpc", @@ -9913,7 +10017,7 @@ name = "polkadot-rpc" version = "0.9.43" source = "git+https://github.com/paritytech/polkadot?branch=master#e074364b08d07266aaba952004456d5af61dbc5c" dependencies = [ - "jsonrpsee", + "jsonrpsee 0.16.2", "mmr-rpc", "pallet-transaction-payment-rpc", "polkadot-primitives", @@ -11766,7 +11870,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#e8979eb6f37f8a10f87ddd6518555f9f02660b59" dependencies = [ "futures", - "jsonrpsee", + "jsonrpsee 0.16.2", "sc-consensus-babe", "sc-consensus-epochs", "sc-rpc-api", @@ -11822,7 +11926,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#e8979eb6f37f8a10f87ddd6518555f9f02660b59" dependencies = [ "futures", - "jsonrpsee", + "jsonrpsee 0.16.2", "log", "parity-scale-codec", "parking_lot 0.12.1", @@ -11896,7 +12000,7 @@ source = "git+https://github.com/paritytech/substrate?branch=master#e8979eb6f37f dependencies = [ "finality-grandpa", "futures", - "jsonrpsee", + "jsonrpsee 0.16.2", "log", "parity-scale-codec", "sc-client-api", @@ -12234,7 +12338,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#e8979eb6f37f8a10f87ddd6518555f9f02660b59" dependencies = [ "futures", - "jsonrpsee", + "jsonrpsee 0.16.2", "log", "parity-scale-codec", "parking_lot 0.12.1", @@ -12264,7 +12368,7 @@ name = "sc-rpc-api" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#e8979eb6f37f8a10f87ddd6518555f9f02660b59" dependencies = [ - "jsonrpsee", + "jsonrpsee 0.16.2", "parity-scale-codec", "sc-chain-spec", "sc-transaction-pool-api", @@ -12284,7 +12388,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#e8979eb6f37f8a10f87ddd6518555f9f02660b59" dependencies = [ "http", - "jsonrpsee", + "jsonrpsee 0.16.2", "log", "serde_json", "substrate-prometheus-endpoint", @@ -12302,7 +12406,7 @@ dependencies = [ "futures", "futures-util", "hex", - "jsonrpsee", + "jsonrpsee 0.16.2", "log", "parity-scale-codec", "parking_lot 0.12.1", @@ -12330,7 +12434,7 @@ dependencies = [ "exit-future", "futures", "futures-timer", - "jsonrpsee", + "jsonrpsee 0.16.2", "log", "parity-scale-codec", "parking_lot 0.12.1", @@ -12414,7 +12518,7 @@ name = "sc-sync-state-rpc" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#e8979eb6f37f8a10f87ddd6518555f9f02660b59" dependencies = [ - "jsonrpsee", + "jsonrpsee 0.16.2", "parity-scale-codec", "sc-chain-spec", "sc-client-api", @@ -14002,7 +14106,7 @@ source = "git+https://github.com/paritytech/substrate?branch=master#e8979eb6f37f dependencies = [ "frame-system-rpc-runtime-api", "futures", - "jsonrpsee", + "jsonrpsee 0.16.2", "log", "parity-scale-codec", "sc-rpc-api", @@ -14032,7 +14136,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#e8979eb6f37f8a10f87ddd6518555f9f02660b59" dependencies = [ "async-trait", - "jsonrpsee", + "jsonrpsee 0.16.2", "log", "sc-rpc-api", "serde", @@ -14044,7 +14148,7 @@ name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=master#e8979eb6f37f8a10f87ddd6518555f9f02660b59" dependencies = [ - "jsonrpsee", + "jsonrpsee 0.16.2", "parity-scale-codec", "sc-client-api", "sc-rpc-api", diff --git a/client/relay-chain-rpc-interface/Cargo.toml b/client/relay-chain-rpc-interface/Cargo.toml index d81f8f7df903..703c18c5c040 100644 --- a/client/relay-chain-rpc-interface/Cargo.toml +++ b/client/relay-chain-rpc-interface/Cargo.toml @@ -26,7 +26,7 @@ tokio = { version = "1.30.0", features = ["sync"] } futures = "0.3.28" futures-timer = "3.0.2" parity-scale-codec = "3.6.4" -jsonrpsee = { version = "0.16.2", features = ["ws-client"] } +jsonrpsee = { version = "0.19.0", features = ["ws-client"] } tracing = "0.1.37" async-trait = "0.1.73" url = "2.4.0" diff --git a/parachain-template/node/Cargo.toml b/parachain-template/node/Cargo.toml index 72936456ea07..d068905bd12a 100644 --- a/parachain-template/node/Cargo.toml +++ b/parachain-template/node/Cargo.toml @@ -14,7 +14,7 @@ clap = { version = "4.3.21", features = ["derive"] } log = "0.4.19" codec = { package = "parity-scale-codec", version = "3.0.0" } serde = { version = "1.0.183", features = ["derive"] } -jsonrpsee = { version = "0.16.2", features = ["server"] } +jsonrpsee = { version = "0.19.0", features = ["server"] } futures = "0.3.28" # Local diff --git a/polkadot-parachain/Cargo.toml b/polkadot-parachain/Cargo.toml index 70de6d002026..949b231e7141 100644 --- a/polkadot-parachain/Cargo.toml +++ b/polkadot-parachain/Cargo.toml @@ -34,7 +34,7 @@ bridge-hub-rococo-runtime = { path = "../parachains/runtimes/bridge-hubs/bridge- bridge-hub-kusama-runtime = { path = "../parachains/runtimes/bridge-hubs/bridge-hub-kusama" } bridge-hub-polkadot-runtime = { path = "../parachains/runtimes/bridge-hubs/bridge-hub-polkadot" } penpal-runtime = { path = "../parachains/runtimes/testing/penpal" } -jsonrpsee = { version = "0.16.2", features = ["server"] } +jsonrpsee = { version = "0.19.0", features = ["server"] } parachains-common = { path = "../parachains/common" } # Substrate diff --git a/test/service/Cargo.toml b/test/service/Cargo.toml index dbb1a8fc60f4..35a9b2124cbd 100644 --- a/test/service/Cargo.toml +++ b/test/service/Cargo.toml @@ -13,7 +13,7 @@ async-trait = "0.1.73" clap = { version = "4.3.21", features = ["derive"] } codec = { package = "parity-scale-codec", version = "3.0.0" } criterion = { version = "0.5.1", features = [ "async_tokio" ] } -jsonrpsee = { version = "0.16.2", features = ["server"] } +jsonrpsee = { version = "0.19.0", features = ["server"] } rand = "0.8.5" serde = { version = "1.0.183", features = ["derive"] } tokio = { version = "1.30.0", features = ["macros"] }