Skip to content

Conversation

@mablr
Copy link
Contributor

@mablr mablr commented Nov 21, 2025

Motivation

#12406 follow-up. Since alloy envelope macro is used for anvil's tx types, TypedTransaction::essentials() seems useless (~100 LoC to prune).

Ref #12406 (comment)

Solution

  • Remove TypedTransaction::essentials() method
  • Remove TransactionEssentials struct
  • Use directly Transaction trait fns

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

grandizzy
grandizzy previously approved these changes Nov 22, 2025
Copy link
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

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

thank you!

@grandizzy grandizzy added this pull request to the merge queue Nov 22, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Nov 22, 2025
mattsse
mattsse previously approved these changes Nov 22, 2025
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

amazing

@mattsse mattsse dismissed stale reviews from grandizzy and themself via 78709f4 November 22, 2025 15:23
@mattsse mattsse added the C-anvil Command: anvil label Nov 22, 2025
@mattsse mattsse added this pull request to the merge queue Nov 22, 2025
Merged via the queue into foundry-rs:master with commit 8436d7c 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

C-anvil Command: anvil

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants