Implement getSlice API #206

Merged
prathamesh0 merged 21 commits from pm-get-slice into v4 2022-12-19 08:42:23 +00:00

21 Commits

Author SHA1 Message Date
7a04ee73ff Remove unnecessary TODO 2022-12-19 11:48:57 +05:30
d40bbc46eb Bugfix - Continue processing other trie nodes on encountering a leaf 2022-12-16 19:50:01 +05:30
b5bb47e77d Use state trie to get stem nodes directly using paths 2022-12-16 19:29:46 +05:30
865b965669 Fix meta data updates 2022-12-15 22:23:52 -06:00
d5d03a0633 Update storage slice tests 2022-12-15 22:23:52 -06:00
8e4d67fcd1 Skip undesired nodes from stem and head iterators 2022-12-15 22:23:52 -06:00
2a194a9488 Use iterator based approach for getSlice 2022-12-15 22:23:52 -06:00
a338bd1a59 Avoid EOAs in additional data in response 2022-12-15 22:23:52 -06:00
2b8de130dc Update tests 2022-12-14 14:14:34 +05:30
4ea8620bc8 Populate extra contract leaves field in the response 2022-12-14 13:46:58 +05:30
16fc1d4957 Remove logs 2022-12-14 10:35:54 +05:30
33f762bea9 Add tests to get storage slice 2022-12-14 10:31:45 +05:30
a549bd408f Avoid filtering out removed nodes 2022-12-14 10:00:34 +05:30
13c75f50e2 Add a todo for using an iterator 2022-12-13 20:24:11 +05:30
24a68fd7ba Add tests to get state slice 2022-12-13 20:13:29 +05:30
8e061504a2 Add checks in queries to get canonical data 2022-12-13 20:13:29 +05:30
9cdef929f8 Add a test to get state slice for root path 2022-12-13 20:13:21 +05:30
fc8f19d791 Fix query to get state leaf key for given storage root 2022-12-13 17:33:06 +05:30
bc408ec680 Fix the helper function to create a slice of required paths 2022-12-13 15:02:36 +05:30
7cf38e742a Implement getSlice API for storage nodes 2022-12-13 11:41:15 +05:30
a2a391c459 Implement getSlice API for state nodes 2022-12-13 10:15:41 +05:30