diff --git a/Cargo.lock b/Cargo.lock index cb585701..2ddf540f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1630,7 +1630,7 @@ dependencies = [ "fp-storage", "futures", "hex", - "jsonrpsee", + "jsonrpsee 0.14.0", "libsecp256k1", "log", "lru", @@ -1662,7 +1662,7 @@ source = "git+https://github.com/paritytech/frontier.git?branch=polkadot-v0.9.27 dependencies = [ "ethereum", "ethereum-types", - "jsonrpsee", + "jsonrpsee 0.14.0", "rlp", "rustc-hex", "serde", @@ -2666,14 +2666,25 @@ version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "11e017217fcd18da0a25296d3693153dd19c8a6aadab330b3595285d075385d1" dependencies = [ - "jsonrpsee-core", + "jsonrpsee-core 0.14.0", "jsonrpsee-http-server", "jsonrpsee-proc-macros", - "jsonrpsee-types", + "jsonrpsee-types 0.14.0", "jsonrpsee-ws-server", "tracing", ] +[[package]] +name = "jsonrpsee" +version = "0.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d291e3a5818a2384645fd9756362e6d89cf0541b0b916fa7702ea4a9833608e" +dependencies = [ + "jsonrpsee-core 0.16.2", + "jsonrpsee-server", + "jsonrpsee-types 0.16.2", +] + [[package]] name = "jsonrpsee-core" version = "0.14.0" @@ -2688,7 +2699,7 @@ dependencies = [ "futures-util", "globset", "hyper", - "jsonrpsee-types", + "jsonrpsee-types 0.14.0", "lazy_static", "parking_lot 0.12.1", "rand 0.8.5", @@ -2702,6 +2713,32 @@ dependencies = [ "unicase", ] +[[package]] +name = "jsonrpsee-core" +version = "0.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4e70b4439a751a5de7dd5ed55eacff78ebf4ffe0fc009cb1ebb11417f5b536b" +dependencies = [ + "anyhow", + "arrayvec 0.7.2", + "async-trait", + "beef", + "futures-channel", + "futures-util", + "globset", + "hyper", + "jsonrpsee-types 0.16.2", + "parking_lot 0.12.1", + "rand 0.8.5", + "rustc-hash", + "serde", + "serde_json", + "soketto", + "thiserror", + "tokio", + "tracing", +] + [[package]] name = "jsonrpsee-http-server" version = "0.14.0" @@ -2711,8 +2748,8 @@ dependencies = [ "futures-channel", "futures-util", "hyper", - "jsonrpsee-core", - "jsonrpsee-types", + "jsonrpsee-core 0.14.0", + "jsonrpsee-types 0.14.0", "serde", "serde_json", "tokio", @@ -2731,6 +2768,28 @@ dependencies = [ "syn", ] +[[package]] +name = "jsonrpsee-server" +version = "0.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fb69dad85df79527c019659a992498d03f8495390496da2f07e6c24c2b356fc" +dependencies = [ + "futures-channel", + "futures-util", + "http", + "hyper", + "jsonrpsee-core 0.16.2", + "jsonrpsee-types 0.16.2", + "serde", + "serde_json", + "soketto", + "tokio", + "tokio-stream", + "tokio-util", + "tower", + "tracing", +] + [[package]] name = "jsonrpsee-types" version = "0.14.0" @@ -2745,6 +2804,20 @@ dependencies = [ "tracing", ] +[[package]] +name = "jsonrpsee-types" +version = "0.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5bd522fe1ce3702fd94812965d7bb7a3364b1c9aba743944c5a00529aae80f8c" +dependencies = [ + "anyhow", + "beef", + "serde", + "serde_json", + "thiserror", + "tracing", +] + [[package]] name = "jsonrpsee-ws-server" version = "0.14.0" @@ -2753,8 +2826,8 @@ checksum = "2bd2e4d266774a671f8def3794255b28eddd09b18d76e0b913fa439f34588c0a" dependencies = [ "futures-channel", "futures-util", - "jsonrpsee-core", - "jsonrpsee-types", + "jsonrpsee-core 0.14.0", + "jsonrpsee-types 0.14.0", "serde_json", "soketto", "tokio", @@ -3689,7 +3762,7 @@ dependencies = [ "fp-rpc", "fp-storage", "futures", - "jsonrpsee", + "jsonrpsee 0.16.2", "log", "meta-runtime", "pallet-transaction-payment-rpc", @@ -4317,7 +4390,7 @@ name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.27#5bfdbab8ba28523ef10e365627fed64ef2b77cbf" dependencies = [ - "jsonrpsee", + "jsonrpsee 0.14.0", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "sp-api", @@ -5563,7 +5636,7 @@ dependencies = [ "assert_matches", "async-trait", "futures", - "jsonrpsee", + "jsonrpsee 0.14.0", "log", "parity-scale-codec", "sc-client-api", @@ -5896,7 +5969,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.2 dependencies = [ "futures", "hash-db", - "jsonrpsee", + "jsonrpsee 0.14.0", "log", "parity-scale-codec", "parking_lot 0.12.1", @@ -5925,7 +5998,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.27#5bfdbab8ba28523ef10e365627fed64ef2b77cbf" dependencies = [ "futures", - "jsonrpsee", + "jsonrpsee 0.14.0", "log", "parity-scale-codec", "parking_lot 0.12.1", @@ -5948,7 +6021,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.27#5bfdbab8ba28523ef10e365627fed64ef2b77cbf" dependencies = [ "futures", - "jsonrpsee", + "jsonrpsee 0.14.0", "log", "serde_json", "substrate-prometheus-endpoint", @@ -5966,7 +6039,7 @@ dependencies = [ "futures", "futures-timer", "hash-db", - "jsonrpsee", + "jsonrpsee 0.14.0", "log", "parity-scale-codec", "parity-util-mem", @@ -6546,6 +6619,7 @@ dependencies = [ "bytes", "flate2", "futures", + "http", "httparse", "log", "rand 0.8.5", @@ -7315,7 +7389,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.2 dependencies = [ "frame-system-rpc-runtime-api", "futures", - "jsonrpsee", + "jsonrpsee 0.14.0", "log", "parity-scale-codec", "sc-client-api", @@ -7631,6 +7705,23 @@ dependencies = [ "serde", ] +[[package]] +name = "tower" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" +dependencies = [ + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tower-layer" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" + [[package]] name = "tower-service" version = "0.3.2" @@ -7644,6 +7735,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2fce9567bd60a67d08a16488756721ba392f24f29006402881e43b19aac64307" dependencies = [ "cfg-if", + "log", "pin-project-lite 0.2.9", "tracing-attributes", "tracing-core", diff --git a/meta/meta-node/Cargo.toml b/meta/meta-node/Cargo.toml index 005fbd1a..c5b37eba 100644 --- a/meta/meta-node/Cargo.toml +++ b/meta/meta-node/Cargo.toml @@ -12,7 +12,7 @@ log = "0.4.17" serde_json = "1.0" # Parity codec = { version = "3.1.5", features = ["derive"], package = "parity-scale-codec" } -jsonrpsee = { version = "0.14.0", features = ["server"] } +jsonrpsee = { version = "0.16.2", features = ["server"] } # Substrate sc-basic-authorship = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.27" }