Tooling to directly verify and benchmark the results of go-ethereum state diffs.
Roy Crihfield
a5a2ec2a5e
All checks were successful
Test / Run unit tests (push) Successful in 5m34s
Reviewed-on: #7 |
||
---|---|---|
.github/workflows | ||
dumpdiff-geth | ||
dumpdiff-plugeth | ||
dumpdiff-plugeth-parallel | ||
internal/statediff | ||
pkg | ||
scripts | ||
go.mod | ||
go.sum | ||
Makefile | ||
README.md |
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.