Commit Graph

9 Commits

Author SHA1 Message Date
f256f13ca0 Update plugeth-statediff (#7)
- Uses utility from cerc-io/plugeth-statediff#30
- Removes unused code

Reviewed-on: #7
2024-07-13 13:10:42 +00:00
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
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
5790ff0439 Add trie_by_cid/state.TryGetNode
used in ipld-eth-server
2023-04-24 18:34:49 +08:00
3ddb592d6b expose NodeIterator 2023-04-10 16:43:36 +08: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