Add RPC function state_getProof, resolves #1110 (#5649)
* Add RPC function state_getProof, resolves #1110 * Apply suggestions from code review * Update client/rpc/src/state/state_full.rs Co-Authored-By:Bastian Köcher <bkchr@users.noreply.github.com> * Update Cargo.lock * Make block hash optional * Wrap StorageProof as Bytes * Add struct ReadProof * Fix typo Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com>
Showing
- substrate/client/rpc-api/src/state/helpers.rs 30 additions, 0 deletionssubstrate/client/rpc-api/src/state/helpers.rs
- substrate/client/rpc-api/src/state/mod.rs 6 additions, 0 deletionssubstrate/client/rpc-api/src/state/mod.rs
- substrate/client/rpc/src/state/mod.rs 14 additions, 3 deletionssubstrate/client/rpc/src/state/mod.rs
- substrate/client/rpc/src/state/state_full.rs 23 additions, 3 deletionssubstrate/client/rpc/src/state/state_full.rs
- substrate/client/rpc/src/state/state_light.rs 9 additions, 1 deletionsubstrate/client/rpc/src/state/state_light.rs
Please register or sign in to comment