Skip to content

Conversation

@dylanlott
Copy link
Contributor

@dylanlott dylanlott commented Oct 23, 2025

This PR improves span usage in the Flashbots submit task for better tracking in groundcover and analytics.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@dylanlott dylanlott changed the title improve spans use in flashbots submit obs: improve spans use in flashbots submit Oct 23, 2025
// Prepare a MEV bundle with the configured call type from the sim result
let Ok(bundle) =
self.prepare(&sim_result).instrument(span.clone()).await.inspect_err(|error| {
let bundle = match self.prepare(&sim_result).instrument(span.clone()).await {
Copy link
Member

Choose a reason for hiding this comment

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

i somewhat prefer the let Ok(_) else

@dylanlott dylanlott force-pushed the dylan/flashbots-span branch from 45f8e09 to 8951b43 Compare October 23, 2025 18:00
@dylanlott dylanlott marked this pull request as ready for review October 23, 2025 18:20
@dylanlott dylanlott requested a review from Evalir as a code owner October 23, 2025 18:20
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