Repository navigation
Description
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.
- #988: extend
engine_newPayloadV4andengine_forkchoiceUpdatedV3to Osaka, as EthLib's version rules already do. Merged; test(rpc): move the execution-apis pin to 1ca0818 #4265 moved the pin. - #989: the payload IDs in the
getPayloadexamples have an odd number of hex digits. Merged; test(rpc): move the execution-apis pin to 1ca0818 #4265 moved the pin. - #990: the Amsterdam payload examples lack
slotNumber. Merged; test(rpc): move the execution-apis pin to 1ca0818 #4265 moved the pin. - #991:
latestValidHashandvalidationErrorofPayloadStatusV1may benull; eight result examples fail the schema. Merged; test(rpc): move the execution-apis pin to 1ca0818 #4265 moved the pin. - #992: a V1 payload also matches the V2 schema, so
oneOfrejects valid examples; useanyOf. Merged; test(rpc): move the execution-apis pin to 1ca0818 #4265 moved the pin. - #993: list
slotNumberin the introduction ofExecutionPayloadV4. Merged; test(rpc): move the execution-apis pin to 1ca0818 #4265 moved the pin. - #994: the default
extraDataofeth_simulateV1disagrees with its fixtures. Merged; test(rpc): move the execution-apis pin to 1ca0818 #4265 moved the pin. - #995: the payload attributes of
forkchoiceUpdatedmay benull. Merged; test(rpc): move the execution-apis pin to 1ca0818 #4265 moved the pin. - #996: state the cell size (2048 bytes) in
BlobCellsAndProofsV1. Merged; test(rpc): move the execution-apis pin to 1ca0818 #4265 moved the pin. - #1004:
eth_blobBaseFeenames no block; the fix says "of the next block", as foreth_baseFee. The EthLib issue that addseth_blobBaseFeewaits for it. - #1005: the new text of
eth_createAccessListforbids removing the coinbase, which EIP-3651 warms from Shanghai; EthLib leaves it out.- Answered: follow the answer in the access-list rule, or record the divergence.
- #997: the default type
0x2ofeth_simulateV1conflicts with fixtures that send anauthorizationList.
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.mdentry that records the divergence.
Activity
tcoratger commentedon Nov 21, 2026
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 writesinclusionListTransactions.EthLib already uses the correct name, so nothing changes here when it merges.
tcoratger commentedon Nov 21, 2026
New report: ethereum/execution-apis#1007 adds the missing OpenRPC examples for
engine_forkchoiceUpdatedV4,engine_forkchoiceUpdatedV5andengine_newPayloadV6. EthLib does not read these examples yet, so nothing changes here when it merges.tcoratger commentedon Nov 21, 2026
New report: ethereum/execution-apis#1008 states that
eth_getTransactionByHashandeth_getTransactionReceiptlook 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.
tcoratger commentedon Nov 21, 2026
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
baseFeePerBlobGasentry ofeth_feeHistory; client issues are linked there.New report: ethereum/execution-apis#1013 types the withdrawal
amountasuint64(Gwei), as EIP-4895 andWithdrawalV1do.tcoratger commentedon Nov 22, 2026
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).
tcoratger commentedon Nov 22, 2026
debug_getRawTransactionsays it returns an array of transactions; its result is one byte string.tcoratger commentedon Nov 22, 2026
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).
tcoratger commentedon Nov 22, 2026
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).
tcoratger commentedon Nov 22, 2026
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).
tcoratger commentedon Nov 22, 2026
From the trace of the base types (#3990): ethereum/execution-apis#1023 (bytes takes an even number of hex digits).
test(rpc): move the execution-apis pin to 1ca0818 (#4265)