This repository was archived by the owner on Sep 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 1+ A number of fixes related to checkpoints and persisting old headers, especially handling
2+ when we try to persist headers that don't match the checkpoints.
3+
4+ - A new exception :class: `~eth.exceptions.CheckpointsMustBeCanonical ` raised when persisting a
5+ header that is not linked to a previously-saved checkpoint.
6+ (note: we now explicitly save checkpoints)
7+ - More broadly, any block persist that would cause the checkpoint to be decanonicalized will
8+ raise the :class: `~eth.exceptions.CheckpointsMustBeCanonical `.
9+ - Re-insert gaps in the chain when a checkpoint and (parent or child) header do not link
10+ - De-canonicalize all children of orphans. (Previously, only decanonicalized headers with block
11+ numbers that matched the new canonical headers)
12+ - Added some new hypothesis tests to get more confidence that we covered most cases
13+ - When filling a gap, if there's an existing child that is not a checkpoint and doesn't link to
14+ the parent, then the parent block wins, and the child block is de-canonicalized (and gap added).
You can’t perform that action at this time.
0 commit comments