refactor(mev): drop pre-submit simulation in BloxrouteBackrunmeSender.SendBackrunBundle#210
Merged
Merged
Conversation
….SendBackrunBundle SendBackrunBundle no longer calls MevSimulateBundle before submitting the arb-only bundle — the pre-submit simulate_arb_only_bundle round-trip is unnecessary and adds latency to the send path. MevSimulateBundle remains on the type for callers that want to simulate explicitly. submit_arb_only_bundle (with coinbase_profit) is sent directly. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
vaigay
approved these changes
Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
BloxrouteBackrunmeSender.SendBackrunBundlecalledMevSimulateBundle(simulate_arb_only_bundle) before submitting, and aborted the send if it errored. This drops that pre-submit simulation —SendBackrunBundlenow goes straight tosubmit_arb_only_bundle(withcoinbase_profit).Why
The pre-submit simulate round-trip is unnecessary on the send path and adds latency.
MevSimulateBundlestays on the type (still part ofIBackrunSender) for callers that want to simulate explicitly — only the implicit call insideSendBackrunBundleis removed.Also resolves the earlier review note that
coinbase_profitwas carried by submit but not by the in-send simulate: there is no in-send simulate anymore, so the two can't diverge.Build + vet clean; no signature change.
🤖 Generated with Claude Code