Skip to content

refactor(network): extract NetworkTransactionBuilder from TransactionBuilder#3344

Merged
mattsse merged 10 commits intoalloy-rs:mainfrom
lean-apple:tx-builder-split
Apr 9, 2026
Merged

refactor(network): extract NetworkTransactionBuilder from TransactionBuilder#3344
mattsse merged 10 commits intoalloy-rs:mainfrom
lean-apple:tx-builder-split

Conversation

@lean-apple
Copy link
Copy Markdown
Contributor

@lean-apple lean-apple commented Dec 13, 2025

Motivation

Closes #3331.

Solution

Split TransactionBuilder into 2 traits, one new, NetworkTransactionBuilder, with methods depending on network, the other with the other methods.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes -> Integration in op-alloy, reth.

@lean-apple lean-apple changed the title refactor: split transaction builder refactor(net): split transaction builder Dec 13, 2025
@lean-apple lean-apple changed the title refactor(net): split transaction builder refactor(network): extract NetworkTransactionBuilder from TransactionBuilder Dec 13, 2025
@lean-apple lean-apple marked this pull request as ready for review December 13, 2025 15:39
@stevencartavia
Copy link
Copy Markdown
Contributor

rebased this locally and looks complete, just needs the conflicts

@lean-apple lean-apple requested a review from klkvr April 8, 2026 17:20
@github-project-automation github-project-automation bot moved this to Reviewed in Alloy Apr 9, 2026
@mattsse mattsse merged commit dea7d60 into alloy-rs:main Apr 9, 2026
30 checks passed
@github-project-automation github-project-automation bot moved this from Reviewed to Done in Alloy Apr 9, 2026
@lean-apple lean-apple deleted the tx-builder-split branch April 9, 2026 12:07
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.

[Feature] extract Network-agnostic TransactionBuilder methods into a separate trait

4 participants