Commit 3545463
refactor(forks/lstar): make the genesis anchor slot explicit (leanEthereum#808)
Anchoring the genesis block as justified and finalized swapped in the
parent root but kept the pre-state checkpoint slot. That was correct only
because both checkpoint slots are still zero when the first post-genesis
block is processed, a hidden dependency a reader had to reconstruct.
Write the slot as zero directly at both the header-processing anchor and
its mirror in the block builder, so the genesis anchor reads as a fixed
slot-zero checkpoint. No behavior change.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 787b768 commit 3545463
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
| 246 | + | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
| 647 | + | |
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
| |||
0 commit comments