Commit Graph

67 Commits

Author SHA1 Message Date
022fa9695e Update eth-testing fixtures 2024-07-08 14:53:48 +08:00
ec6b6821b9 Add unit test workflow
Some checks failed
Test / Run unit tests (pull_request) Successful in 3m27s
Test / Run unit tests (push) Has been cancelled
w/ extra runs for tracker test
2024-07-08 14:52:50 +08:00
9fce1dc0b7 Upgrade go to 1.21 2024-07-08 14:52:25 +08:00
7aad19c85d Don't modify arg in rewindPath 2024-07-08 14:52:09 +08:00
eac1d8b517 Fix tracker.Restore test 2024-07-08 14:52:05 +08:00
523a745cf3 Update Geth to 1.13 (#4)
Reviewed-on: #4
2024-03-30 08:54:31 +00:00
ff1e1a4ea7 Update go.sum 2023-09-26 19:36:41 +08:00
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
6b0b53f48a Merge pull request 'Downgrade dependencies to match plugeth' (#2) from downgrade-deps into main
Reviewed-on: #2
2023-09-21 10:12:44 +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
Ian Norden
69ebfef6ec
Update README.md
Deprecation notice
2023-07-05 09:19:36 -05:00
Michael
0a0b3ef3b2
Merge pull request #25 from cerc-io/rebase-v1.11.4-wip
version update for geth 1.11.4 statediffing 4.3.8
2023-03-17 09:56:19 -04:00
Michael Shaw
5de3fc857b version update for geth 1.11.4 statediffing 4.3.8 2023-03-17 09:52:32 -04:00
Michael
7851532b6c
Merge pull request #24 from cerc-io/rebase-1.11.2-wip
update for geth 1.11.2 statediff
2023-03-10 14:25:22 -05:00
Michael Shaw
0f3ff6591e update for interface changes for NewDatabaseWithFreezer and leveldb 2023-03-10 14:17:36 -05:00
Michael Shaw
d8560b4080 update for geth 1.11.2 statediff 2023-03-10 13:44:06 -05:00
Michael
232401bb32
Merge pull request #23 from cerc-io/v1.1.8-wip
dependency update for geth 1.10.26 and the 1.1.9 release
2022-11-07 11:59:00 -05:00
Michael Shaw
aea0cf03a2 dependency update for geth 1.10.26 2022-11-07 11:56:52 -05:00
Michael
08dc41040e
Merge pull request #21 from cerc-io/geth-1.10.25-wip
dependency updates for geth 1.10.25
2022-09-23 14:01:32 -04:00
Michael Shaw
f42967b769 dependency updates for geth 1.10.25 2022-09-23 13:59:40 -04:00
Michael
c67218d600
Merge pull request #20 from cerc-io/cerc_refactor
first repo in chain for cerc github refactor
2022-09-14 13:11:48 -04:00
Michael Shaw
4982241136 first repo in chain for cerc github refactor 2022-09-14 01:00:44 -04:00
3d57aa34fa
Merge pull request #18 from roysc/add-tracker
Add tracker package
2022-09-06 07:40:12 -05:00
d72e3214c1 Add tracker package
Moved from snapshot repo
2022-09-06 14:38:09 +02:00
Michael
2508990948
Merge pull request #19 from vulcanize/rebase-1.10.23-wip
dependency update to 1.10.23 of vulcanize statediffing geth
2022-09-01 16:51:53 -04:00
Michael Shaw
71af7dfd2a dependency update to 1.10.23 of vulcanize statediffing geth 2022-09-01 16:19:23 -04:00
prathamesh0
b40114b739
Store start path in prefix bound iterator object (#17) 2022-08-03 16:12:45 +05:30
Michael Shaw
c6ac14bf08 go mody tidy for geth 1.10.21 2022-07-29 15:10:02 -04:00
prathamesh0
9fde91f0a0
Merge pull request #16 from vulcanize/release-v1.1.2
go-ethereum 1.10.20 update with go mod tidy
2022-07-29 16:55:52 +05:30
Michael Shaw
2de2187a00 go-ethereum 1.10.20 update with go mod tidy 2022-07-18 18:35:34 -04:00
erikdies
58b943f532
Create issues-notion-sync.yml 2022-06-29 09:12:43 -04:00
Abdul Rabbani
833627c276
Merge pull request #15 from vulcanize/feature/update-geth-v.1.10.19
Update geth version
2022-06-17 08:20:53 -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
81a7fff289
Merge pull request #14 from roysc/fix-hanging-ctor
Fix hanging constructor
2022-06-10 12:47:26 +05:30
4fbaa45d8e Fix tests for revert 2022-06-08 18:04:44 +08:00
30472ce3c7 Revert "fix edge behavior and constructor"
This reverts commit c134d25de5.
2022-06-08 18:04:44 +08:00
Abdul Rabbani
8f27a1392a
Merge pull request #13 from vulcanize/release-v1.0.3
Update go and geth
2022-05-31 07:36:53 -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
Ian Norden
fb86725ef2
Merge pull request #10 from roysc/fixes-tests
Fix edge behavior and expand tests
2022-03-03 08:22:45 -06:00
08614e0941 cleanup 2022-02-26 12:09:06 +08:00
f6d9fa992d comments 2022-02-23 18:40:37 +08:00
87c5033edf add test cases 2022-02-23 18:29:41 +08:00
ff21f3cbcb add fixture/chaindata 2022-02-23 18:29:37 +08:00
c134d25de5 fix edge behavior and constructor 2022-02-22 16:16:02 +08:00
c532c17b05 export end path field 2022-02-21 16:30:26 +08:00
f25ee8319c simplify and clean up 2022-02-21 16:30:26 +08:00
Ian Norden
8e349dfbaa
Merge pull request #9 from roysc/dev
Fix and update go.mod
2022-01-26 11:55:09 -06:00
i-norden
25f9744744 bump to v1.10.15-statediff-2.0.0 2022-01-26 11:53:32 -06:00