Commit Graph

19 Commits

Author SHA1 Message Date
7703ac8ea4 Add tracker interface and test (#3)
Refactors the tracker to expose an interface and an implementation type. Decoupling these will let us inject new state/functionality transparently to the client function.

Reviewed-on: #3
2023-09-26 11:34:41 +00:00
b4a70a8caa Downgrade deps to match plugeth 2023-09-21 18:04:23 +08:00
e0c758f9f6 Add tracker package, update and simplify (#1)
This revives the standalone repo for these tools now that we're liberated from the Geth fork.
* pulls changes from geth fork
* remove unused: StartPath, SubtrieIteratorFactory
* changes module name to reflect bundled `tracker`
* refactors fixture data into separate module

Reviewed-on: #1
2023-09-19 16:58:23 +00:00
Michael Shaw
5de3fc857b version update for geth 1.11.4 statediffing 4.3.8 2023-03-17 09:52:32 -04:00
Michael Shaw
d8560b4080 update for geth 1.11.2 statediff 2023-03-10 13:44:06 -05:00
Michael Shaw
aea0cf03a2 dependency update for geth 1.10.26 2022-11-07 11:56:52 -05:00
Michael Shaw
f42967b769 dependency updates for geth 1.10.25 2022-09-23 13:59:40 -04:00
Michael Shaw
4982241136 first repo in chain for cerc github refactor 2022-09-14 01:00:44 -04:00
d72e3214c1 Add tracker package
Moved from snapshot repo
2022-09-06 14:38:09 +02:00
Michael Shaw
71af7dfd2a dependency update to 1.10.23 of vulcanize statediffing geth 2022-09-01 16:19:23 -04:00
Michael Shaw
c6ac14bf08 go mody tidy for geth 1.10.21 2022-07-29 15:10:02 -04:00
Michael Shaw
2de2187a00 go-ethereum 1.10.20 update with go mod tidy 2022-07-18 18:35:34 -04:00
Abdul Rabbani
e9a8abe8e9 Update geth version
```
08:19:37:~/GitHub/cerc/go-eth-state-node-iterator go test ./... -v
=== RUN   TestMakePaths
--- PASS: TestMakePaths (0.00s)
=== RUN   TestIterator
=== RUN   TestIterator/in_bounds
=== RUN   TestIterator/in_bounds/case
=== RUN   TestIterator/in_bounds/case#01
=== RUN   TestIterator/in_bounds/case#02
=== RUN   TestIterator/in_bounds/case#03
=== RUN   TestIterator/in_bounds/case#04
=== RUN   TestIterator/in_bounds/case#05
=== RUN   TestIterator/trie_is_covered
=== RUN   TestIterator/trie_is_covered/1_bins
=== RUN   TestIterator/trie_is_covered/2_bins
=== RUN   TestIterator/trie_is_covered/4_bins
=== RUN   TestIterator/trie_is_covered/8_bins
=== RUN   TestIterator/trie_is_covered/16_bins
=== RUN   TestIterator/trie_is_covered/32_bins
--- PASS: TestIterator (0.15s)
    --- PASS: TestIterator/in_bounds (0.00s)
        --- PASS: TestIterator/in_bounds/case (0.00s)
        --- PASS: TestIterator/in_bounds/case#01 (0.00s)
        --- PASS: TestIterator/in_bounds/case#02 (0.00s)
        --- PASS: TestIterator/in_bounds/case#03 (0.00s)
        --- PASS: TestIterator/in_bounds/case#04 (0.00s)
        --- PASS: TestIterator/in_bounds/case#05 (0.00s)
    --- PASS: TestIterator/trie_is_covered (0.02s)
        --- PASS: TestIterator/trie_is_covered/1_bins (0.00s)
        --- PASS: TestIterator/trie_is_covered/2_bins (0.00s)
        --- PASS: TestIterator/trie_is_covered/4_bins (0.00s)
        --- PASS: TestIterator/trie_is_covered/8_bins (0.00s)
        --- PASS: TestIterator/trie_is_covered/16_bins (0.01s)
        --- PASS: TestIterator/trie_is_covered/32_bins (0.00s)
PASS
ok      github.com/vulcanize/go-eth-state-node-iterator 0.325s
?       github.com/vulcanize/go-eth-state-node-iterator/fixture [no test files]
```
2022-06-17 08:20:04 -04:00
Abdul Rabbani
03a6bd4aed Update go and geth 2022-05-27 15:01:28 -04:00
nikugogoi
a4f22bc253
Upgrade geth version and remove vulcanize geth dependency 2022-05-17 19:06:49 +05:30
i-norden
25f9744744 bump to v1.10.15-statediff-2.0.0 2022-01-26 11:53:32 -06:00
6bba614243 Patches, test, comments 2022-01-27 01:34:29 +08:00
Arijit Das
d23d01ed81 Upgrade geth to v1.10.9. 2021-10-14 12:19:06 +05:30
6d20ef7c3b iterator package
* stripped down Nodeiterator interface

* prefix-bound iterator for traversing a specific range of keys

* visitor over subtries divided at a specific depth
2020-08-23 21:28:42 -05:00