Commit 63f847c2 authored by Alexandru Vasile's avatar Alexandru Vasile Committed by GitHub
Browse files

rpc: Update jsonrpsee v0.15.1 (#11939)



* Bump jsonrpsee to v0.15.1

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* Update cargo.lock

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* rpc-servers: Adjust RpcMiddleware to WS and HTTP traits

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* rpc/author: Use `SubscriptionSink`

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* rpc/chain: Use `SubscriptionSink`

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* rpc/state:  Use `SubscriptionSink`

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* rpc/finality-grandpa: Use `SubscriptionSink`

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* rpc/beefy: Use `SubscriptionSink`

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* client: Extract RPC string result from queries

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* Apply rust-fmt

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* Fix warnings

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* Fix testing

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* rpc/tests: Remove trailing comma

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* rpc: Use `SubscriptionResult` for implementations

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* rpc: Remove comment

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* rpc: Delegate middleware calls to `RpcMiddleware`

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* rpc: Remove comment

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* Revert Cargo.lock

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* Update Cargo.lock with minimal changes

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* rpc: Update imports for `SubscriptionResult`

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* Apply cargo fmt

Signed-off-by: default avatarAlexandru Vasile <[email protected]>

* rpc/tests: Submit raw json requests to validate DenyUnsafe

Signed-off-by: default avatarAlexandru Vasile <[email protected]>
parent 103f770e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment