Skip to content
Commit b0342f0b 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 1519da95
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