Skip to content

Conversation

@mablr
Copy link
Contributor

@mablr mablr commented Nov 21, 2025

Motivation

#12406 follow-up.
As TypedTransaction now impl alloy-consensus Transaction trait, TypedTransaction::blob_gas() is pointless.

Solution

  • Remove TypedTransaction::blob_gas() method
  • Use directly Transaction trait fn, blob_gas_used()
  • Remove TypedTransaction::max_cost() method as it is now simplified and used in only one place

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@grandizzy grandizzy added this pull request to the merge queue Nov 22, 2025
Merged via the queue into foundry-rs:master with commit 9b22631 Nov 22, 2025
15 checks passed
@github-project-automation github-project-automation bot moved this to Done in Foundry Nov 22, 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.

2 participants