Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit f8b0ca7

Browse files
committed
Add release notes for #1930
1 parent 6f16ac4 commit f8b0ca7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

newsfragments/1929.bugfix.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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).

0 commit comments

Comments
 (0)