Skip to content

docs: follow EthLib's open reports to execution-apis #3507

Open

Description

@tcoratger

EthLib's Engine API and JSON-RPC work found twelve defects in execution-apis and reported them; this issue follows them until EthLib has reacted to each outcome.
Size: M

The problem

EthLib checks every example and fixture of execution-apis against its own rules.
Where they disagreed with the source text, the defect was reported upstream; EthLib's Python suite still skips or expects failure on those examples.
When a fix merges, the pin moves, the skip goes, and the test passes for the right reason; if one is closed, the divergence goes to SOUNDNESS.md.

The idea

One checkbox per open report.

Merged reports from the comments, also covered by the pin move of #4265, with no rule change: #1006, #1019, #1020 and #1021.
The Lean doc comments and SOUNDNESS.md still cite the text at 3284ee8; moving those citations stays with #3567.

For each: merged, move the execution-apis pin (with the pin move issue of this plan) and remove the test skip; closed, record EthLib's reading in SOUNDNESS.md § Engine API or § Execution JSON-RPC API.

Example

The engine_getPayloadV2 to engine_getPayloadV6 request examples carry the payload ID 0x0000000038fa5dd.
A payload ID is 8 bytes, so 16 hex digits; this one has 15 and fails the source's own schema.
EthLib's test lists this example as rejected; once #989 merges, the example decodes and the test drops it from the list.

Done when

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

Activity

  1. tcoratger commented on Nov 21, 2026

    @tcoratger
    CollaboratorAuthor

    New report: ethereum/execution-apis#1006 fixes the case of one field name in bogota.md.

    Rule 2 of "Payload building" writes inclusionlistTransactions; the rest of the document writes inclusionListTransactions.
    EthLib already uses the correct name, so nothing changes here when it merges.

  2. tcoratger commented on Nov 21, 2026

    @tcoratger
    CollaboratorAuthor

    New report: ethereum/execution-apis#1007 adds the missing OpenRPC examples for engine_forkchoiceUpdatedV4, engine_forkchoiceUpdatedV5 and engine_newPayloadV6. EthLib does not read these examples yet, so nothing changes here when it merges.

  3. tcoratger commented on Nov 21, 2026

    @tcoratger
    CollaboratorAuthor

    New report: ethereum/execution-apis#1008 states that eth_getTransactionByHash and eth_getTransactionReceipt look a transaction up in the canonical chain only.

    The method text did not say which blocks the lookup reads, and the reorg fixtures expect no receipt from a dropped block.
    EthLib adopts that rule in #3722.

  4. tcoratger commented on Nov 21, 2026

    @tcoratger
    CollaboratorAuthor

    Updates: ethereum/execution-apis#1008 now states the lookup order (canonical block, then the pool, then null; the receipt is null unless a canonical block includes the transaction). ethereum/execution-apis#1004 now uses the blob parameters at the latest block's timestamp, the same rule it adds to the last baseFeePerBlobGas entry of eth_feeHistory; client issues are linked there.

    New report: ethereum/execution-apis#1013 types the withdrawal amount as uint64 (Gwei), as EIP-4895 and WithdrawalV1 do.

  5. tcoratger commented on Nov 22, 2026

    @tcoratger
    CollaboratorAuthor

    From the trace of engine_newPayload (#3938): ethereum/execution-apis#1019 (the -32602 rule for the request list sits only in the V4 parameters; V5 and V6 restate parameter 4 without it).

  6. tcoratger commented on Nov 22, 2026

    @tcoratger
    CollaboratorAuthor
  7. tcoratger commented on Nov 22, 2026

    @tcoratger
    CollaboratorAuthor

    From the trace of the payload attributes (#3940): ethereum/execution-apis#1020 (the fork check of the attributes in forkchoiceUpdated V3, V5 and V6 is written inverted).

  8. tcoratger commented on Nov 22, 2026

    @tcoratger
    CollaboratorAuthor

    From the trace of engine_getPayload (#3941): ethereum/execution-apis#1021 (the cell indices of getPayloadV5 step 3.2.2 ran one past the last cell).

  9. tcoratger commented on Nov 22, 2026

    @tcoratger
    CollaboratorAuthor

    From the trace of the payload bodies (#3943): ethereum/execution-apis#1022 (the withdrawals of a body may be null, as the methods require, but the structures did not say so).

  10. tcoratger commented on Nov 22, 2026

    @tcoratger
    CollaboratorAuthor

    From the trace of the base types (#3990): ethereum/execution-apis#1023 (bytes takes an even number of hex digits).

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

    engineThe Engine API: EthLib/Enginetype: docsDocumentation only

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions