Skip to content

fix(rewind): roll back prune checkpoints - #57

Open
nuntax wants to merge 1 commit into
mainfrom
fix/rewind-prune-checkpoints
Open

nuntax wants to merge 1 commit into
mainfrom
fix/rewind-prune-checkpoints

Conversation

@nuntax

@nuntax nuntax commented Sep 4, 2026 •

Copy link
Copy Markdown
Owner

Rewind prune progress alongside the database tip, matching Reth's prune-stage unwind semantics. Checkpoints already at or below the target remain unchanged.

Adds a database regression test covering block and transaction checkpoint rollback.

Closes #56.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: rewind leaves AccountHistory/StorageHistory prune checkpoints above the new tip, so every state read fails "state at block #N is pruned"

1 participant