Skip to content

Conversation

@mablr
Copy link
Contributor

@mablr mablr commented Dec 10, 2025

Motivation

Towards #12784

Get rid of useless tx req to typed tx conversion.

Solution

  • Just inspect tx kind and authorizations list len to determine base gas.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Don't convert tx request to typed tx, just inspect tx kind and authorizations list len.
Copy link
Member

@onbjerg onbjerg left a comment

Choose a reason for hiding this comment

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

much better, thank you!

@onbjerg onbjerg self-assigned this Dec 10, 2025
@onbjerg onbjerg enabled auto-merge December 10, 2025 14:14
@onbjerg onbjerg added this pull request to the merge queue Dec 10, 2025
Merged via the queue into foundry-rs:master with commit a71243b Dec 10, 2025
15 checks passed
@github-project-automation github-project-automation bot moved this to Done in Foundry Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants