Skip to content

Conversation

@legion2002
Copy link
Contributor

Closes #1844

Problem

The TempoTransaction::validate() function checks important transaction structure rules (e.g., CREATE must be first call, no CREATE with authorization list), but this validation was only performed during RLP decoding. Transactions constructed programmatically or through other paths could bypass these checks before execution.

In this PR we add the validation for the batch calls inside the handler.

@vercel
Copy link

vercel bot commented Jan 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
tempo-docs Ready Ready Preview, Comment Jan 5, 2026 10:53am

Copy link
Contributor

@rakita rakita left a comment

Choose a reason for hiding this comment

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

lgtm

@legion2002 legion2002 added this pull request to the merge queue Jan 5, 2026
Merged via the queue into main with commit 2d5acfd Jan 5, 2026
17 checks passed
@legion2002 legion2002 deleted the tanishk/validate-calls-handler branch January 5, 2026 11:58
Zygimantass pushed a commit that referenced this pull request Jan 11, 2026
Closes #1844

## Problem

The `TempoTransaction::validate()` function checks important transaction
structure rules (e.g., CREATE must be first call, no CREATE with
authorization list), but this validation was only performed during RLP
decoding. Transactions constructed programmatically or through other
paths could bypass these checks before execution.

In this PR we add the validation for the batch calls inside the handler.
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.

Call aatx.validate() inside revm handler

4 participants