Repository navigation
Description
EthLib's formal work found two defects in the Beacon API and reported them upstream; this issue follows them until EthLib has reacted to each outcome.
Size: S
The problem
When a proof or a test of EthLib disagrees with a source, the defect is reported to the repository that owns the source (CONTRIBUTING.md, "Defects found upstream").
A report is only half the work: once upstream merges or closes it, EthLib must move its pin, change its rule, or record the divergence in SOUNDNESS.md.
Without a tracking issue, a merged fix stays invisible and EthLib keeps citing the old text.
The idea
One checkbox per open report, with what EthLib does when it merges and what it does if it is closed.
- beacon-APIs#678:
getLightClientUpdatesByRangeshould take the fork digest of each update's own epoch, as EthLib's light client answers already do.- Merged: move the Beacon API pin; no rule changes.
- Closed: record in
SOUNDNESS.md§ Beacon API that EthLib keeps the per-update digest, and why.
- beacon-APIs#683: the source does not define the
depthandepochof achain_reorgevent, nor when aheadevent setsepoch_transition. EthLib chose readings in its event rules (closed specs+proofs: decide when the fork choice emits a Beacon API event, and what it carries #2091).- Resolved: align the event rules with the answer and drop the open point from
SOUNDNESS.md. - Closed with no answer: keep the readings and say so in
SOUNDNESS.md.
- Resolved: align the event rules with the answer and drop the open point from
The third report, beacon-APIs#682 on the epoch range of getStateRandao, was closed without a merge; its follow-up has its own issue.
Example
Since Fulu, the fork digest of an epoch also mixes in the blob parameters of that epoch.
After a BPO fork, which changes only the blob parameters, the fork version stays the same but the digest changes.
The current text computes the context of each update from its fork version alone, so after a BPO fork it gives a digest that differs from the one the p2p rules and EthLib compute from the epoch.
Done when
- Each box is ticked with the EthLib PR that reacted, or with the
SOUNDNESS.mdentry that records the divergence. - The links in this issue show the final state of each report.
Activity
tcoratger commentedon Nov 21, 2026
New report: ethereum/beacon-APIs#685 limits the general PTC dependent-root rule (the
head_v2bullets and the formula) to epochs afterGLOAS_FORK_EPOCH, so it no longer contradicts the fork-epoch paragraph that #3560 follows.tcoratger commentedon Nov 25, 2026
Status on 2026-11-25:
0ed1255; head is09256e1, four commits later, and one of them (proof(pairing): give the divisor of Miller's function #676) also changes thegetBlobsanswer for a block that repeats a commitment.FULU_FORK_EPOCH. EthLib follows the text today; specs: the dependent root of the second proposer duties at the Fulu fork epoch #4603 states the correct root.The pin moves once, after #687 resolves, so that one pin move covers #676, #678, #685 and #687.
tcoratger commentedon Nov 26, 2026
Folded into #3632, which now tracks every open upstream report in one checklist, with EthLib's action for each outcome.