Skip to content

execution/engineapi: return INVALID for undecodable blockAccessList - #23633

Open
nerolation wants to merge 1 commit into
erigontech:mainfrom
nerolation:nerolation/bal-decode-invalid-main
Open

execution/engineapi: return INVALID for undecodable blockAccessList#23633
nerolation wants to merge 1 commit into
erigontech:mainfrom
nerolation:nerolation/bal-decode-invalid-main

Conversation

@nerolation

Copy link
Copy Markdown

@yperbasis yperbasis added the Glamsterdam https://eips.ethereum.org/EIPS/eip-7773 label Aug 27, 2026
@yperbasis
yperbasis requested review from taratorio and a balanced review from Copilot August 27, 2026 15:08
@yperbasis yperbasis added this to the 3.8.0 milestone Aug 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Returns an Engine API INVALID payload status when a block access list cannot be decoded.

Changes:

  • Replace JSON-RPC invalid-params errors with INVALID payload responses.
  • Update BAL tests for the revised behavior.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
execution/engineapi/engine_server.go Returns INVALID with a validation error for undecodable BAL data.
execution/engineapi/engine_api_bal_test.go Verifies malformed and semantically invalid BAL responses.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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

Labels

Glamsterdam https://eips.ethereum.org/EIPS/eip-7773

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants