Skip to content

Conversation

@sashass1315
Copy link
Contributor

This change ensures ComputeTxContext correctly surfaces failures from txn.AsMessage (e.g., invalid signature or tx type not permitted by current fork rules) instead of proceeding with an invalid message and returning a nil error. Downstream consumers (e.g., jsonrpc tracing and otterscan tracing paths) already expect an error-returning ComputeTxContext and construct TxContext from a valid Message; by propagating the error we prevent building inconsistent EVM contexts (wrong Origin/GasPrice/BlobHashes) and align behavior with other call sites that properly check AsMessage errors like overlay_api and trace_worker. This is a correctness fix for tracing semantics and does not affect AA txs whose AsMessage does not error.

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.

1 participant