Skip to content

Conversation

@MozirDmitriy
Copy link
Contributor

The human-readable messages for TxGasOverflowError and TxTipAboveFeeCapError were swapped. TxGasOverflowError is only used for arithmetic overflows while computing intrinsic gas in transaction_intrinsic_gas, and TxTipAboveFeeCapError is used when max_priority_fee_per_gas exceeds max_fee_per_gas in validate_transaction. This mismatch produced misleading logs and metrics but did not affect behavior. The change swaps the error annotations so that each variant's message matches its semantic meaning and call sites.

@MozirDmitriy MozirDmitriy requested a review from a team as a code owner December 19, 2025 10:25
Copy link
Collaborator

@MegaRedHand MegaRedHand left a comment

Choose a reason for hiding this comment

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

Good catch

@MegaRedHand MegaRedHand changed the title fix: align mempool error messages with their actual usage fix(l1): align mempool error messages with their actual usage Dec 22, 2025
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