Do not return empty entries from state_queryStorage (#2906)

* do not return empty entries from state_queryStorage

* revert back None -> null change

* Revert "revert back None -> null change"

This reverts commit 318eb043e03b7aabbc3f176e02c15fd4595d16db.
This commit is contained in:
Svyatoslav Nikolsky authored and Bastian Köcher committed 2019-06-19 15:31:14 +02:00
1 parent 828485ec08
commit 5030097799
6 files changed
+65 -31

No files matched your search

+2
View File
@@ -525,6 +525,8 @@ impl<B, E, Block, RA> Client<B, E, Block, RA> where
/// Get pairs of (block, extrinsic) where key has been changed at given blocks range.
/// Works only for runtimes that are supporting changes tries.
///
/// Changes are returned in descending order (i.e. last block comes first).
pub fn key_changes(
&self,
first: NumberFor<Block>,