Debug tool for recursively comparing state (in DB or in a file) with geth archive node (#191)
* Fetching results of eth_getProof * Dump 5 levels of the trie in a file for repeated runs * Drill down to 6 levels of the trie * Fix lint * Fix lint * Fix lint * verifySnapshot to check accounts with emptyRoot * Descend into short nodes * Latest tool fixes * Fix lint * Fix state properly working
Showing
- cmd/hack/hack.go 15 additions, 12 deletionscmd/hack/hack.go
- cmd/rpctest/main.go 31 additions, 1 deletioncmd/rpctest/main.go
- cmd/rpctest/proofs.go 292 additions, 0 deletionscmd/rpctest/proofs.go
- cmd/state/state_snapshot.go 9 additions, 12 deletionscmd/state/state_snapshot.go
- trie/debug.go 62 additions, 0 deletionstrie/debug.go
- trie/trie.go 1 addition, 1 deletiontrie/trie.go
Loading
Please register or sign in to comment