Files
ipld-eth-server/pkg
prathamesh0 721a728d4b Implement getSlice API (#206)
* Implement getSlice API for state nodes

* Implement getSlice API for storage nodes

* Fix the helper function to create a slice of required paths

* Fix query to get state leaf key for given storage root

* Add a test to get state slice for root path

* Add checks in queries to get canonical data

* Add tests to get state slice

* Add a todo for using an iterator

* Avoid filtering out removed nodes

* Add tests to get storage slice

* Remove logs

* Populate extra contract leaves field in the response

* Update tests

* Avoid EOAs in additional data in response

* Use iterator based approach for getSlice

* Skip undesired nodes from stem and head iterators

* Update storage slice tests

* Fix meta data updates

* Use state trie to get stem nodes directly using paths

* Bugfix - Continue processing other trie nodes on encountering a leaf

* Remove unnecessary TODO
2022-12-19 14:12:23 +05:30
..
2022-09-20 11:52:06 -04:00
2022-09-21 17:15:03 +05:30
2022-12-19 14:12:23 +05:30
2022-09-20 11:52:06 -04:00
2020-10-27 14:18:59 -05:00
2022-09-21 17:15:03 +05:30
2022-09-21 17:15:03 +05:30