Skip to content

Conversation

@greged93
Copy link
Contributor

@greged93 greged93 commented Aug 1, 2025

Makes the following update to the L1 message validation rules:

  • Nonce check is explicitly removed by removing the validate_account_nonce_and_code call.
  • Base fee check was already skipped here.
  • Explicitly perform EIP-3607 checks.

The base fee and nonce checks were previously skipped in Reth in the ScrollBlockExecutor by configuring the evm. In tracing, the ScrollEvm is used instead, which doesn't allow us to apply the config (or would require us to make modifications to the Reth codebase, further diverging from upstream). Moving away from this custom config we need to apply everytime for L1 messages to correct handling of the checks in the handler makes more sense.

Copy link
Collaborator

@frisitano frisitano left a comment

Choose a reason for hiding this comment

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

Looks good. Would be nice to run some test cases for this comparing l2geth and reth to verify the correctness of this change.

@greged93 greged93 merged commit 59d400f into main Aug 26, 2025
14 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.

3 participants