Skip to content

Conversation

@prestwich
Copy link
Member

@prestwich prestwich commented Jan 12, 2026

Adds consistency checks and static-file healing at node bootup. This should prevent and fix storage consistency errors

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@prestwich prestwich marked this pull request as ready for review January 12, 2026 14:11
@prestwich prestwich requested a review from a team as a code owner January 12, 2026 14:11
@prestwich prestwich force-pushed the prestwich/consistency branch 2 times, most recently from 0a157d1 to 0dfca67 Compare January 12, 2026 14:38
@prestwich prestwich force-pushed the prestwich/consistency branch from 0dfca67 to fde8739 Compare January 12, 2026 14:40
self.tx_ref().get::<JournalHashes>(ru_height).map_err(Into::into)
}

#[track_caller]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL about the track_caller attribute 👍

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, it's nice. helps with diagnosing panics

Copy link
Contributor

@dylanlott dylanlott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Database and static file consistency logic looks good to me. Approving to move this along to testing, since the to do's are reproduced from reth codebase and should be ignored.

@prestwich prestwich merged commit ae6a415 into main Jan 13, 2026
7 checks passed
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.

4 participants