Skip to content

test(rpc): pin execution-apis ref and fix two new spec cases - #1100

Merged
randy-cro merged 8 commits into
developfrom
fix/rpc-spec-schema-pin
Sep 16, 2026
Merged

randy-cro merged 8 commits into
developfrom
fix/rpc-spec-schema-pin

Conversation

@randy-cro

@randy-cro randy-cro commented Sep 16, 2026

Copy link
Copy Markdown

The schema suite downloaded ethereum/execution-apis at HEAD of main, so its
inputs changed with no commit here. Two cases added upstream after the suite
last ran then failed on the next PR that touched Go code, neither of them an
ethermint defect:

  • eth_getLogs/filter-error-future-block-to-latest replays fromBlock=0x38
    literally, which is a committed block on the local chain, so returning no
    logs is correct. Its sibling filter-error-future-block-range is already
    rewritten for the local chain; do the same here, moving only fromBlock past
    the head and leaving toBlock as "latest".
  • testing_commitBlockV1/commit-block-with-transactions compares against a
    local block whose transaction is legacy while the fixture's is type 0x2, so
    accessList/maxFeePerGas/maxPriorityFeePerGas/yParity are absent for the
    right reason.

Pin the ref so the next spec change arrives as a reviewable diff that updates
these lists, rather than as a red build on an unrelated PR.

@randy-cro
randy-cro requested a review from a team as a code owner September 16, 2026 08:29
@randy-cro
randy-cro requested review from JayT106 and thomas-nguy and removed request for a team September 16, 2026 08:29
randy-cro and others added 7 commits September 16, 2026 17:58
The schema suite downloaded ethereum/execution-apis at HEAD of main, so its
inputs changed with no commit here. Two cases added upstream after the suite
last ran then failed on the next PR that touched Go code, neither of them an
ethermint defect:

- eth_getLogs/filter-error-future-block-to-latest replays fromBlock=0x38
  literally, which is a committed block on the local chain, so returning no
  logs is correct. Its sibling filter-error-future-block-range is already
  rewritten for the local chain; do the same here, moving only fromBlock past
  the head and leaving toBlock as "latest".
- testing_commitBlockV1/commit-block-with-transactions compares against a
  local block whose transaction is legacy while the fixture's is type 0x2, so
  accessList/maxFeePerGas/maxPriorityFeePerGas/yParity are absent for the
  right reason.

Pin the ref so the next spec change arrives as a reviewable diff that updates
these lists, rather than as a red build on an unrelated PR.

Co-Authored-By: Claude <noreply@anthropic.com>
filter-error-fully-future-block-range asks for 0x38..0x3a, which is a valid
past range once the local chain passes height 58 — so it depends on where the
chain happens to be and flips between runs. Move both bounds past the head so
it keeps asserting what the spec case is about: from > head rather than only
to > head, which is its sibling's job.

Co-Authored-By: Claude <noreply@anthropic.com>
@randy-cro
randy-cro force-pushed the fix/rpc-spec-schema-pin branch from f3d439e to 2bcc264 Compare September 16, 2026 09:59
@randy-cro
randy-cro merged commit 867e641 into develop Sep 16, 2026
32 checks passed
@randy-cro
randy-cro deleted the fix/rpc-spec-schema-pin branch September 16, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants