Commits
Click on a commit to change the comparison rangefeat(cli): add `reth db debug-report` command for state root errors
Add automated debug report generation for state root validation errors.
Previously, users had to manually collect 5 different pieces of information
when encountering invalid state root errors. This command automates that
process by collecting:
- Block header information (state root, parent hash, etc.)
- Database table statistics
- Recent log entries
- Optional: database checksums (--checksum flag)
Usage: reth db debug-report --block <BLOCK> [--checksum] [--output <FILE>]
The error message in INVALID_STATE_ROOT_ERROR_MESSAGE has been updated
to guide users to use this new command.
Signed-off-by: Hwangjae Lee <meetrick@gmail.com> Added docs for debug-report
Signed-off-by: Hwangjae Lee <meetrick@gmail.com> Merge branch 'main' into reth/feat-db-debug-report Merge branch 'main' into reth/feat-db-debug-report Merge branch 'main' into reth/feat-db-debug-report Revert "Update docs for debug report"
This reverts commit 60a3c94d1b5cefc6a60d614acbc7a1fe0886f7b4. fix: update report command for upstream API changes
- Fix db_stat call to use dbi() method after libmdbx API change
- Update CLI docs with new datadir and static-files options from main
Signed-off-by: Hwangjae Lee <meetrick@gmail.com> Update docs for fixed lint error
Signed-off-by: Hwangjae Lee <meetrick@gmail.com>