Skip to content

chore(anvil): clean-up impersonated tx building#13637

Merged
onbjerg merged 1 commit intofoundry-rs:masterfrom
mablr:chore/impersonated_tx_building_cleanup
Mar 5, 2026
Merged

chore(anvil): clean-up impersonated tx building#13637
onbjerg merged 1 commit intofoundry-rs:masterfrom
mablr:chore/impersonated_tx_building_cleanup

Conversation

@mablr
Copy link
Contributor

@mablr mablr commented Mar 5, 2026

Motivation

Replace the ad-hoc pattern of constructing a bypass signature externally and passing it to the generic build_typed_transaction with a oneshot build_impersonated helper that owns the zeroed signature internally.

  • Remove Ethapi::impersonated_signature
  • Eliminate unnecessary Result wrapper
  • Ensures all call sites use a consistent signature rather than constructing it independently.

... tl;dr less code 😄

@onbjerg onbjerg merged commit c50907f into foundry-rs:master Mar 5, 2026
16 checks passed
@github-project-automation github-project-automation bot moved this to Done in Foundry Mar 5, 2026
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