Repository navigation
Limit the general PTC dependent root rule to epochs after the Gloas fork - #685
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nflaig
left a comment
There was a problem hiding this comment.
imo it's implied that ptc is post-gloas, I don't think this needs to be overspecified, but curious what others think
|
Thanks. The guard is not about pre-Gloas epochs, which indeed have no PTC. It separates On master, the general text says the dependent root is If you prefer fewer words, a lighter fix is one clause on the general text, "except for |
nflaig
left a comment
There was a problem hiding this comment.
sure, it does make it more explicit, not opposed to merging as is
The pin of ethereum/beacon-APIs moves from 0ed1255 to 09256e1, its head of 2026-11-26. Four changes landed between the two: - ethereum/beacon-APIs#676 gives one blob per requested hash in the blobs endpoint; #4665 already follows it. - ethereum/beacon-APIs#678 selects the context of an updates chunk by the digest of its epoch; the decoder already computes that digest. - ethereum/beacon-APIs#685 limits the general PTC dependent root to epochs after the Gloas fork; EthLib already refuses earlier epochs, and a comment and SOUNDNESS.md now say "every later epoch". - ethereum/beacon-APIs#686 adds CN, EX, LA and NE to ClientCode in types/primitive.yaml. The vendored copy and its digest move with it; no vendored schema refers to ClientCode. Every other link of the Lean doc comments, SOUNDNESS.md and the tests moves to the new commit; no other file changed between the two. Closes #4645. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The PTC duties text says, for every epoch, to check the dependent root against
event.current_epoch_dependent_rootwhen the event is in the same epoch. The paragraph added in #671 says that forGLOAS_FORK_EPOCHit matchesevent.next_epoch_dependent_rootinstead, and that its root is atcompute_start_slot_at_epoch(epoch) - 1. Both the bullets and the general formula now apply toepoch > GLOAS_FORK_EPOCHonly, so the fork-epoch paragraph no longer contradicts them. Nothing changes for clients that already follow #671.🤖 Generated with Claude Code