Commit Graph

13 Commits

Author SHA1 Message Date
761d60acdf Geth 1.13 (Deneb/Cancun) update (#5)
The Geth `core/state` and `trie` packages underwent a big refactor between `v1.11.6` and `1.13.14`.
This code, which was adapted from those, needed corresponding updates. To do this I applied the diff patches from Geth directly where possible and in some places had to clone new parts of the Geth code and adapt them.

In order to make this process as straightforward as possible in the future, I've attempted to minimize the number of changes vs. Geth and added some documentation in the `trie_by_cid` package.

Reviewed-on: #5
2024-05-29 10:00:12 +00:00
aa2dbd84d7 Refactor to use plugeth-statediff (#1)
Reviewed-on: #1
2023-09-20 06:16:44 +00:00
7381b35dc6 Redo trie_by_cid package to be read-write
* use logrus instead of geth log
* remove benchmarks
* impl NodeIterator.ParentPath
* update go mods
2023-05-19 01:08:07 +08:00
4b2aba4fc7 Add basic trie tests 2023-04-24 21:38:11 +08:00
88e7a394d0 Fix node resolution; use Cid struct as key
was erroneously storing the cid in the fullNode's flag.cache
2023-04-24 18:34:49 +08:00
3f0e36c0a3 Test NodeBlob 2023-04-24 18:34:49 +08:00
5790ff0439 Add trie_by_cid/state.TryGetNode
used in ipld-eth-server
2023-04-24 18:34:49 +08:00
ced8041f72 fix package oops 2023-04-24 18:34:42 +08:00
b6ef6d4e12
Proof tests (#17)
* Port proof tests from geth
* Scale trie size, seed rand
2023-04-24 05:04:13 -05:00
3ddb592d6b expose NodeIterator 2023-04-10 16:43:36 +08:00
i-norden
cee8f21984 some fixes 2023-04-09 12:42:19 -05:00
i-norden
804b321c42 updated deps 2023-04-09 12:25:11 -05:00
i-norden
0cea5840f8 move to trie_by_cid 2023-04-09 12:01:26 -05:00