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

Fix consistency check for merged sbundles #82

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

dvush
Copy link
Contributor

@dvush dvush commented Jul 24, 2024

There were situations where we had merged sbundles that looked like this

bundle1:
user_tx, allow_revert: no
backrun1

bundle 2:
user_tx: allow_revert yes
backrun

merged sbundle is concat of these two

and consistency check would think that user_tx wat not allowed to revert enven though there is a situation where we include bundle2

@dvush dvush requested a review from ZanCorDX as a code owner July 24, 2024 15:09
@dvush dvush force-pushed the fix-sbundle-merging-consistency-check branch from d7daa49 to e607319 Compare July 24, 2024 15:13
@dvush dvush requested a review from ryanschneider July 24, 2024 15:14
Copy link

github-actions bot commented Jul 24, 2024

Benchmark results for e607319

Report: https://flashbots-rbuilder-ci-stats.s3.us-east-2.amazonaws.com/benchmark/e607319-ae24579/report/index.html

Date (UTC) 2024-07-24T15:14:00+00:00
Commit e607319ad82cd7fcfb78b9c62d60a7e1a0804a71
Base SHA ae24579813ba4eda3d5c5469f4a107900516d7ee

Significant changes

Benchmark Mean Status
MEV-Boost SubmitBlock serialization/JSON encoding 7.84% Performance has degraded.

Copy link
Contributor

@ryanschneider ryanschneider left a comment

Choose a reason for hiding this comment

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

lgtm!

@dvush dvush merged commit bda8468 into develop Jul 25, 2024
2 checks passed
@dvush dvush deleted the fix-sbundle-merging-consistency-check branch July 25, 2024 17:25
MoeMahhouk pushed a commit that referenced this pull request Jul 29, 2024
There were situations where we had merged sbundles that looked like this

bundle1:
   user_tx, allow_revert: no
   backrun1

bundle 2:
  user_tx: allow_revert yes
  backrun

merged sbundle is concat of these two

and consistency check would think that user_tx wat not allowed to revert
enven though there is a situation where we include bundle2
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