Skip to content

Commit

Permalink
deps: update jsonrpsee to v0.22.5 (#4330)
Browse files Browse the repository at this point in the history
use `server-core` feature instead of `server` feature when defining the
rpc api
  • Loading branch information
koushiro authored May 2, 2024
1 parent b85c5a0 commit 4e0b3ab
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 76 deletions.
97 changes: 32 additions & 65 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion substrate/client/consensus/babe/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ workspace = true
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] }
jsonrpsee = { version = "0.22.5", features = ["client-core", "macros", "server-core"] }
futures = "0.3.30"
serde = { features = ["derive"], workspace = true, default-features = true }
thiserror = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/consensus/beefy/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ workspace = true
[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
futures = "0.3.30"
jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] }
jsonrpsee = { version = "0.22.5", features = ["client-core", "macros", "server-core"] }
log = { workspace = true, default-features = true }
parking_lot = "0.12.1"
serde = { features = ["derive"], workspace = true, default-features = true }
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/consensus/grandpa/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ workspace = true
[dependencies]
finality-grandpa = { version = "0.16.2", features = ["derive-codec"] }
futures = "0.3.30"
jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] }
jsonrpsee = { version = "0.22.5", features = ["client-core", "macros", "server-core"] }
log = { workspace = true, default-features = true }
parity-scale-codec = { version = "3.6.1", features = ["derive"] }
serde = { features = ["derive"], workspace = true, default-features = true }
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/consensus/manual-seal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ workspace = true
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] }
jsonrpsee = { version = "0.22.5", features = ["client-core", "macros", "server-core"] }
assert_matches = "1.3.0"
async-trait = "0.1.79"
codec = { package = "parity-scale-codec", version = "3.6.1" }
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/merkle-mountain-range/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1" }
jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] }
jsonrpsee = { version = "0.22.5", features = ["client-core", "macros", "server-core"] }
serde = { features = ["derive"], workspace = true, default-features = true }
sp-api = { path = "../../../primitives/api" }
sp-blockchain = { path = "../../../primitives/blockchain" }
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/rpc-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ sp-core = { path = "../../primitives/core" }
sp-rpc = { path = "../../primitives/rpc" }
sp-runtime = { path = "../../primitives/runtime" }
sp-version = { path = "../../primitives/version" }
jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] }
jsonrpsee = { version = "0.22.5", features = ["client-core", "macros", "server-core"] }
2 changes: 1 addition & 1 deletion substrate/client/rpc-spec-v2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ workspace = true
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] }
jsonrpsee = { version = "0.22.5", features = ["client-core", "macros", "server-core"] }
# Internal chain structures for "chain_spec".
sc-chain-spec = { path = "../chain-spec" }
# Pool for submitting extrinsics required by "transaction"
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/sync-state-rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1" }
jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] }
jsonrpsee = { version = "0.22.5", features = ["client-core", "macros", "server-core"] }
serde = { features = ["derive"], workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
thiserror = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/transaction-payment/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1" }
jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] }
jsonrpsee = { version = "0.22.5", features = ["client-core", "macros", "server-core"] }
pallet-transaction-payment-rpc-runtime-api = { path = "runtime-api" }
sp-api = { path = "../../../primitives/api" }
sp-blockchain = { path = "../../../primitives/blockchain" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sp-state-machine = { path = "../../../../primitives/state-machine" }
sp-trie = { path = "../../../../primitives/trie" }
trie-db = "0.29.0"

jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] }
jsonrpsee = { version = "0.22.5", features = ["client-core", "macros", "server-core"] }

# Substrate Dependencies
sc-client-api = { path = "../../../../client/api" }
Expand Down
2 changes: 1 addition & 1 deletion substrate/utils/frame/rpc/system/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1" }
jsonrpsee = { version = "0.22", features = ["client-core", "macros", "server"] }
jsonrpsee = { version = "0.22.5", features = ["client-core", "macros", "server-core"] }
futures = "0.3.30"
log = { workspace = true, default-features = true }
frame-system-rpc-runtime-api = { path = "../../../../frame/system/rpc/runtime-api" }
Expand Down

0 comments on commit 4e0b3ab

Please sign in to comment.