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 bundle pool issue #136

Conversation

redhdx
Copy link
Contributor

@redhdx redhdx commented Aug 12, 2024

Description

Fix bundle pool issue.

Rationale

Every time when dropped a bundle, should compare the price again. Otherwise, a huge bundle whose price is only higher the the minimal price bundle will result in other bundles dropped.

Example

N/A

Changes

Notable changes:

  • change bundle pool drop logic.

@owen-reorg
Copy link
Collaborator

plz add UT for this feature.

@redhdx
Copy link
Contributor Author

redhdx commented Aug 15, 2024

plz add UT for this feature.

Done. Plz review.

Copy link
Contributor

@welkin22 welkin22 left a comment

Choose a reason for hiding this comment

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

LGTM

@owen-reorg owen-reorg merged commit d3aab27 into bnb-chain:merge-upstream-v1.101315.2 Aug 20, 2024
1 check passed
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.

3 participants