Skip to content

Conversation

@spencer-tb
Copy link
Contributor

Description

Adds three new exception mappers to the Ethrex CLI to handle gas limit and RLP block size validation errors:

  • BlockException.GASLIMIT_PRICE_PRODUCT_OVERFLOW - handles "Invalid transaction: Gas limit price product overflow" errors
  • BlockException.RLP_BLOCK_LIMIT_EXCEEDED - handles "Maximum block size exceeded" errors
  • BlockException.GAS_LIMIT_EXCEEDS_MAXIMUM - handles "Invalid transaction: Transaction gas limit exceeds maximum" errors

Fixes the hive failures for consume engine where ethrex error messages were not being properly matched to their corresponding exception types: https://hive.ethpandaops.io/#/test/fusaka/1761412944-237887dd8db2b19dbb8a9463444420b3?testnumber=6019

Copy link
Member

@danceratopz danceratopz left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks!

@spencer-tb spencer-tb force-pushed the update-ethrex-exceptions branch from e704976 to f01c35a Compare October 27, 2025 11:21
@spencer-tb spencer-tb merged commit 01eded3 into ethereum:forks/osaka Oct 27, 2025
10 of 11 checks passed
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