Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow to only fill a transaction request #590

Merged
merged 1 commit into from
Apr 22, 2024
Merged

Conversation

leruaa
Copy link
Contributor

@leruaa leruaa commented Apr 20, 2024

Motivation

This PR follows a discussion in the tg channel about the need to apply all fillers to a transaction request without sending it, for instance to be able to build a Flashbot bundle.

Solution

Adds a fill() method on FillProvider that just call inner filler prepare_and_fill().

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@prestwich prestwich merged commit 49e4b1c into alloy-rs:main Apr 22, 2024
18 checks passed
ben186 pushed a commit to ben186/alloy that referenced this pull request Jul 27, 2024
@leruaa leruaa deleted the fill branch October 10, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants