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
core/txpool/legacypool: reheap the priced list if london fork not enabled #27481
Conversation
Hi, |
|
Please rebase this change, the txpool was moved into |
OK 86ff690 |
…ethereum#27481) This change ensures Reheap will be called even before the London fork activates. Since Reheap would otherwise only be called through `SetBaseFee` after London, the list would just keep growing if the fork was not enabled or not reached yet.
…ethereum#27481) This change ensures Reheap will be called even before the London fork activates. Since Reheap would otherwise only be called through `SetBaseFee` after London, the list would just keep growing if the fork was not enabled or not reached yet.
…ethereum#27481) This change ensures Reheap will be called even before the London fork activates. Since Reheap would otherwise only be called through `SetBaseFee` after London, the list would just keep growing if the fork was not enabled or not reached yet.
… enabled (ethereum#27481)" This reverts commit 0a44648.
… enabled (ethereum#27481)" This reverts commit 0a44648.
… enabled (ethereum#27481)" This reverts commit 0a44648.
Description
issue: #23690
Rationale
Because there is a memory leak on txpool priced urgent list, so force calls Reheap periodically on the txpool to evict old transactions from the priced list when London fork is not enabled.