Skip to content

feature: adds Flashbots submit task - #144

Merged
dylanlott merged 23 commits into
mainfrom
dylan/add-flashbots-provider
Sep 23, 2025
Merged

dylanlott merged 23 commits into
mainfrom
dylan/add-flashbots-provider

Conversation

@dylanlott

@dylanlott dylanlott commented Aug 13, 2025 •

Copy link
Copy Markdown
Contributor

feature: adds Flashbots submit task

  • adds a FlashbotsTask for submitting rollup block transactions to the Flashbots API
  • imports the Flashbots crate from bin-base​

dylanlott commented Aug 13, 2025 •

Copy link
Copy Markdown
Contributor Author

@dylanlott dylanlott changed the title wip: adds Flashbots provider [wip] feature: adds Flashbots provider Aug 13, 2025
@dylanlott
dylanlott force-pushed the dylan/env-flashbots-endpoint branch from 655fa22 to 3f6d723 Compare August 13, 2025 20:46
@dylanlott
dylanlott force-pushed the dylan/add-flashbots-provider branch 2 times, most recently from 3b8b773 to efa138b Compare August 13, 2025 20:49
@dylanlott
dylanlott force-pushed the dylan/env-flashbots-endpoint branch from 188c908 to 971694b Compare August 14, 2025 19:01
@dylanlott
dylanlott force-pushed the dylan/add-flashbots-provider branch 3 times, most recently from 370c647 to 54a7490 Compare August 20, 2025 20:37
@dylanlott
dylanlott force-pushed the dylan/env-flashbots-endpoint branch from 1c084f7 to 7456a56 Compare August 28, 2025 22:23
@dylanlott
dylanlott force-pushed the dylan/add-flashbots-provider branch from b457211 to bb8e705 Compare August 28, 2025 22:23
@dylanlott
dylanlott force-pushed the dylan/env-flashbots-endpoint branch from 7456a56 to e6da00a Compare September 8, 2025 16:04
@dylanlott
dylanlott force-pushed the dylan/add-flashbots-provider branch 2 times, most recently from b648bfb to c8733db Compare September 8, 2025 16:06
@dylanlott
dylanlott force-pushed the dylan/env-flashbots-endpoint branch from 26c92d1 to b3837e2 Compare September 8, 2025 16:08
@dylanlott
dylanlott force-pushed the dylan/add-flashbots-provider branch from c8733db to 8067ecc Compare September 8, 2025 16:08
@dylanlott dylanlott changed the title [wip] feature: adds Flashbots provider feature: adds Flashbots provider Sep 8, 2025
@dylanlott dylanlott changed the title feature: adds Flashbots provider [wip] feature: adds Flashbots provider Sep 8, 2025
@dylanlott
dylanlott force-pushed the dylan/env-flashbots-endpoint branch from b3837e2 to 48ea8d5 Compare September 8, 2025 19:40
@dylanlott
dylanlott force-pushed the dylan/add-flashbots-provider branch from afecd8b to c5b9774 Compare September 8, 2025 19:40
@dylanlott
dylanlott changed the base branch from dylan/env-flashbots-endpoint to graphite-base/144 September 15, 2025 15:15
@dylanlott
dylanlott force-pushed the dylan/add-flashbots-provider branch from c5b9774 to 32a23d0 Compare September 15, 2025 19:02
@dylanlott
dylanlott changed the base branch from graphite-base/144 to dylan/env-flashbots-endpoint September 15, 2025 19:02
Comment thread src/tasks/submit/flashbots/provider.rs Outdated
Comment thread src/tasks/submit/flashbots/task.rs Outdated
Comment thread src/tasks/submit/flashbots.rs Outdated
Comment thread src/tasks/submit/flashbots.rs Outdated
Comment thread src/tasks/submit/flashbots/task.rs Outdated
@dylanlott
dylanlott changed the base branch from dylan/env-flashbots-endpoint to graphite-base/144 September 15, 2025 19:31
@dylanlott
dylanlott force-pushed the dylan/add-flashbots-provider branch from 32a23d0 to ee26143 Compare September 15, 2025 19:31
@dylanlott
dylanlott force-pushed the dylan/add-flashbots-provider branch from a8a4374 to cca2e73 Compare September 22, 2025 21:10
@dylanlott dylanlott changed the title [wip] feature: adds Flashbots provider feature: adds Flashbots provider Sep 22, 2025
@prestwich
prestwich force-pushed the dylan/add-flashbots-provider branch from 97e5030 to 8a61c26 Compare September 23, 2025 15:31
@prestwich
prestwich force-pushed the dylan/add-flashbots-provider branch from 19a15d7 to 193e4d7 Compare September 23, 2025 18:02
@prestwich prestwich changed the title feature: adds Flashbots provider feature: adds Flashbots submit task Sep 23, 2025
@prestwich

Copy link
Copy Markdown
Member

this PR now includes several misc flow improvements

  • SystemConstants moved to be part of Config instead of loaded separately, and removed as props in many places
  • span_info! and related macros
  • async setups for several tasks
  • some additional config memoization
  • driveby tracing improvements

@dylanlott
dylanlott marked this pull request as ready for review September 23, 2025 18:38
Comment thread bin/builder.rs Outdated
Comment thread src/tasks/submit/flashbots.rs Outdated
@prestwich
prestwich force-pushed the dylan/add-flashbots-provider branch from a9f85e0 to bfec573 Compare September 23, 2025 20:03

@Evalir Evalir left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

neat

Comment thread src/config.rs

/// Spawn a submit task, either Flashbots or BuilderHelper depending on
/// configuration.
pub async fn spawn_submit_task(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should this fn log whether the task was spawned in flashbots or tx mode?

@dylanlott
dylanlott merged commit e08f55c into main Sep 23, 2025
6 checks passed
@dylanlott
dylanlott deleted the dylan/add-flashbots-provider branch September 23, 2025 21:06
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.

3 participants