Skip to content

docs: follow EthLib's open reports to builder-specs #3504

Not planned

Description

@tcoratger

EthLib's Builder API work found three gaps in builder-specs and opened issues upstream; this issue follows them until EthLib has reacted to each answer.
Size: S

The problem

Formal work on the Gloas builder requests (closed #2126 and #2127) hit three places where the source is silent or contradicts itself.
EthLib had to choose a reading for each, and records the choice in SOUNDNESS.md § Builder API.
When upstream answers, EthLib must follow the answer or record the divergence; otherwise the choice silently drifts from the source.

The idea

One checkbox per open report.

  • builder-specs#183: the builder preferences a proposer sends are not covered by the request signature, so anyone on the path can change them.
    • Resolved: change the authentication rule and its theorem to the new signed message.
  • builder-specs#184: the source does not say whether a builder checks the signature or the data first, so two builders may answer the same bad request with different status codes.
    • Answered and closed on 2026-11-20: the order is left to each builder.
    • To do: check that EthLib's set of allowed status codes admits both orders, and say in SOUNDNESS.md § Builder API that the order is the builder's choice.
  • builder-specs#185: for some URLs, the Python code and the prose of the default authentication data give different results.
    • Answered and closed on 2026-11-20: the two differ only on URLs that do not occur in practice, such as percent-encoded or invalid host names.
    • To do: record in SOUNDNESS.md § Builder API which side EthLib follows on those URLs.

For #183: if it is closed without an answer, keep EthLib's reading and say so in SOUNDNESS.md.

Example

A request with a bad signature and a malformed body could get 401 from one builder and 400 from another.
Both follow the text, because the text does not fix which check comes first; #184 asks the source to fix it.

Done when

  • Each box is ticked with the EthLib PR that reacted, or with the SOUNDNESS.md entry that records the remaining divergence.

Activity

  1. added
    consensus
    type: docs
    on Nov 20, 2026
  2. tcoratger commented on Nov 22, 2026

    @tcoratger
    CollaboratorAuthor

    From the trace of the Builder API (#3997): ethereum/builder-specs#189 (a typo in the Bellatrix builder spec).

  3. tcoratger commented on Nov 22, 2026

    @tcoratger
    CollaboratorAuthor

    From the trace of the builder API (#3997): ethereum/builder-specs#190 (issue: when the slot of builder preferences has already passed, strict or not).

  4. tcoratger commented on Nov 25, 2026

    @tcoratger
    CollaboratorAuthor

    Status on 2026-11-25: #184 and #185 are ticked; SOUNDNESS.md § Builder API already records both readings (the allowed statuses admit either order, and the URLs where the source's urlsplit differs). builder-specs#189 (typo) merged on 2026-11-25, with no EthLib change. #183 and #190 are open with no answer.

  5. tcoratger commented on Nov 26, 2026

    @tcoratger
    CollaboratorAuthor

    Folded into #3632, which now tracks every open upstream report in one checklist, with EthLib's action for each outcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    consensustype: docs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions