-
Notifications
You must be signed in to change notification settings - Fork 342
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(mempool): Eject txs
from CometBFT mempool after Lifetime
#1356
Conversation
WalkthroughThe Cosmos project has updated its Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ? TipsChat with CodeRabbit Bot (
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1356 +/- ##
==========================================
- Coverage 48.63% 48.60% -0.03%
==========================================
Files 84 84
Lines 4914 4917 +3
==========================================
Hits 2390 2390
- Misses 2347 2350 +3
Partials 177 177
|
) ## Summary by CodeRabbit - **New Features** - Enhanced transaction pool with a lifetime parameter to manage transaction longevity. - Updated transaction ejection criteria to consider transaction age in the mempool. - **Refactor** - Streamlined miner initialization within the runtime configuration. - **Bug Fixes** - Corrected error comparison in transaction insertion logic to improve reliability. (cherry picked from commit ec2a093)
…ckport #1356) (#1357) This is an automatic backport of pull request #1356 done by [Mergify](https://mergify.com). --- <details> <summary>Mergify commands and options</summary> <br /> More conditions and actions can be found in the [documentation](https://docs.mergify.com/). 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](https://dashboard.mergify.com) you can: - look at your merge queues - generate the Mergify configuration with the config editor. Finally, you can contact us on https://mergify.com </details> Co-authored-by: Devon Bear <itsdevbear@berachain.com>
Summary by CodeRabbit
New Features
Refactor
Bug Fixes