Skip to content
Unverified Commit 865321f7 authored by Kian Paimani's avatar Kian Paimani Committed by GitHub
Browse files

state_getSize RPC for storage maps (#6847)



* Fancy compact encode/decode impl for compact solution

* Make it optional

* Remove extra file

* Update primitives/npos-elections/compact/src/lib.rs

Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>

* Final fixes.

* getSize rpc should work for maps as well

* Fix future types

* Remove minimum_validator_count stale const

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

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

* "Optimize" `storage_size`

* Remove unused import

* Update doc

Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
parent 0c8329c7
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