ipld-eth-server/pkg/eth
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
..
test_helpers Cerc refactor (#193) 2022-09-20 11:52:06 -04:00
api_test.go Implement getSlice API (#206) 2022-12-19 14:12:23 +05:30
api.go Implement getSlice API (#206) 2022-12-19 14:12:23 +05:30
backend_utils.go Implement getSlice API (#206) 2022-12-19 14:12:23 +05:30
backend.go Implement getSlice API (#206) 2022-12-19 14:12:23 +05:30
cid_retriever_test.go Implement getSlice API (#206) 2022-12-19 14:12:23 +05:30
cid_retriever.go Optimize GQL and getBlock APIs (#201) 2022-11-04 10:02:09 +05:30
eth_state_test.go Implement getSlice API (#206) 2022-12-19 14:12:23 +05:30
eth_suite_test.go support net endpoints 2021-04-09 09:51:12 -05:00
filterer_test.go Cerc refactor (#193) 2022-09-20 11:52:06 -04:00
filterer.go Implement getSlice API (#206) 2022-12-19 14:12:23 +05:30
helpers.go Implement getSlice API (#206) 2022-12-19 14:12:23 +05:30
interfaces.go update eth backend 2020-10-28 08:23:17 -05:00
ipld_fetcher_test.go Cerc refactor (#193) 2022-09-20 11:52:06 -04:00
ipld_fetcher.go Cerc refactor (#193) 2022-09-20 11:52:06 -04:00
ipld_retriever.go Implement getSlice API (#206) 2022-12-19 14:12:23 +05:30
subscription_config.go decouple from sync 2020-08-31 10:47:06 -05:00
test_helpers.go Implement getSlice API (#206) 2022-12-19 14:12:23 +05:30
types.go Implement getSlice API (#206) 2022-12-19 14:12:23 +05:30