Tooling to directly verify and benchmark the results of go-ethereum state diffs.
Go to file
Roy Crihfield d29be73d9e
Some checks failed
Test / Run unit tests (pull_request) Failing after 3m2s
Update Geth to 1.13 in Plugeth cases
2024-04-02 09:07:55 +08:00
.github/workflows Add plugin using parallel iterators (#2) 2023-09-22 10:49:02 +00:00
dumpdiff-geth Update Geth to 1.13 in Plugeth cases 2024-04-02 09:07:55 +08:00
dumpdiff-plugeth Update Geth to 1.13 in Plugeth cases 2024-04-02 09:07:55 +08:00
dumpdiff-plugeth-parallel Update Geth to 1.13 in Plugeth cases 2024-04-02 09:07:55 +08:00
internal/statediff Update Geth to 1.13 in Plugeth cases 2024-04-02 09:07:55 +08:00
pkg Update Geth to 1.13 in Plugeth cases 2024-04-02 09:07:55 +08:00
scripts Add full diff objects to output (#4) 2023-09-27 16:46:13 +00:00
go.mod Update Geth to 1.13 in Plugeth cases 2024-04-02 09:07:55 +08:00
go.sum Init repo with diff-dump tools and compare-diffs script 2023-09-19 18:35:44 +08:00
Makefile Add 'test' target. (#5) 2023-10-12 15:03:18 +00:00
README.md Add full diff objects to output (#4) 2023-09-27 16:46:13 +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-parallel

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