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

feat: loop through all txs before returning the tx set to consensus (backport #1113) #1117

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 17, 2023

This is an automatic backport of pull request #1113 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

…1113)

## Description

This modifies the behavior of the `ReapMaxBytesMaxGas` method called by
consensus. Prior we would return the tx set the moment the first tx was
greater than the limit. Now instead of breaking we continue through all
txs. This means that a large tx doesn't block smaller less priority
transactions from getting through.

(cherry picked from commit 793ece9)
@cmwaters cmwaters merged commit bdadcef into v0.34.x-celestia Oct 24, 2023
18 checks passed
@cmwaters cmwaters deleted the mergify/bp/v0.34.x-celestia/pr-1113 branch October 24, 2023 09:30
@faddat faddat mentioned this pull request Feb 22, 2024
3 tasks
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.

None yet

3 participants