Skip to content
Commit 87de1e7e authored by Alexandru Vasile's avatar Alexandru Vasile Committed by GitHub
Browse files

RPC: Mark storage methods as `blocking` (#11459)



* client/api: Make `storage_keys` blocking

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

* client/api: Ensure `state_*` RPC methods are blocking

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

* client/rpc: Ensure `childstate_*` RPC methods are blocking

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

* client/rpc: `ChainApi` make RPC methods sync

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

* Remove unused async-traits

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

* client/rpc-api: Make chain RPC methods blocking

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

* Update client/rpc/src/state/state_full.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Add `blocking` to `state_getKeysPaged` RPC call

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

* Fix build and warning

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

* Remove `async_trait` tidyup

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

Co-authored-by: default avatarBastian Köcher <[email protected]>
parent 4a71017d
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