Tooling to directly verify and benchmark the results of go-ethereum state diffs.
Go to file
2023-09-27 16:33:04 +08:00
.github/workflows Add plugin using parallel iterators (#2) 2023-09-22 10:49:02 +00:00
dumpdiff-geth Add plugin using parallel iterators (#2) 2023-09-22 10:49:02 +00:00
dumpdiff-plugeth Add script for updating go.mod to use local plugeth-statediff (#3) 2023-09-27 07:48:31 +00:00
dumpdiff-plugeth-parallel Add plugin using parallel iterators (#2) 2023-09-22 10:49:02 +00:00
internal/statediff Add plugin using parallel iterators (#2) 2023-09-22 10:49:02 +00:00
pkg add full diff objects to output 2023-09-27 16:32:44 +08:00
scripts clean up script 2023-09-27 16:33:04 +08:00
go.mod Add plugin using parallel iterators (#2) 2023-09-22 10:49:02 +00:00
go.sum Init repo with diff-dump tools and compare-diffs script 2023-09-19 18:35:44 +08:00
Makefile Add script for updating go.mod to use local plugeth-statediff (#3) 2023-09-27 07:48:31 +00:00
README.md Add plugin using parallel iterators (#2) 2023-09-22 10:49:02 +00:00

eth-statediff-compliance

Tooling to directly verify and benchmark the results of go-ethereum state diffs.

Usage

Use scripts/compare-diffs.sh to compare outputs of go-ethereum/statediff and plugeth-statediff.

# Compare the output of geth-statediff and the statediff plugin (as of v0.1.1):
./scripts/compare-diffs.sh -d _var/ geth plugeth

# Compare geth-statediff and the plugin using parallel iterators:
./scripts/compare-diffs.sh -d _var/ geth plugeth

A zero exit code indicates identical outputs, modulo possible duplicate nodes.