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

Reject Empty Bundles #13798

Merged
merged 6 commits into from
Apr 1, 2024
Merged

Reject Empty Bundles #13798

merged 6 commits into from
Apr 1, 2024

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented Mar 26, 2024

What type of PR is this?

Bug Fix

What does this PR do? Why is it needed?

In the event the relay/builder provides us an empty bundle, we reject it and bubble up an error to the rpc call rather than allow the block to be broadcasted and processed.

Which issues(s) does this PR fix?

N.A

Other notes for review

@nisdas nisdas added the Ready For Review A pull request ready for code review label Mar 26, 2024
@nisdas nisdas requested a review from a team as a code owner March 26, 2024 06:17
saolyn
saolyn previously approved these changes Mar 26, 2024
Copy link
Member

@terencechain terencechain left a comment

Choose a reason for hiding this comment

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

Can we please add a unit test for this?

@nisdas nisdas added this pull request to the merge queue Apr 1, 2024
Merged via the queue into develop with commit 38f208d Apr 1, 2024
17 checks passed
@nisdas nisdas deleted the rejectEmptyBundles branch April 1, 2024 04:59
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants