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(node): filter txns by base fee #1321

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

cryptoAtwill
Copy link
Contributor

@cryptoAtwill cryptoAtwill commented Mar 19, 2025

This PR adds extra step to filter out txn below the base fee.

Previous, if a txn's fee cap is below the base fee, the txn priority is set to I64::MIN so that cometbft will deprioritise this kind of transactions. From stress testing, it turns out, cometbft will still send them over after some time. Adding this extra layer to ensure they wont be executed on chain.


This change is Reviewable

@cryptoAtwill cryptoAtwill requested a review from a team as a code owner March 19, 2025 13:02
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.

1 participant