-
Notifications
You must be signed in to change notification settings - Fork 814
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
How to replace transactions in a free gas (no-gas) network #7676
Comments
@philipbeaucamp Can you provide some more details on why you need transaction replacement on a free gas network? |
@matthew1001 Any thoughts on how this can be done? |
@jframe We've had transactions (with the correct nonce) being stuck in the transaction pool before, neither failing nor being mined. The why is not quite clear to us but in order to free up the pool I'd like to replace the transaction with a no-op transaction (sending zero ether to own address). |
For a free-gas chain we put a change in to allow for TX replacement where it's not possible to bump the gas price. If you have
It's possible that the docs need an update to document this change. It was designed to resolve exactly the issue you are seeing. Which version of Besu are you running? As for the reason the transactions might get stuck, there aren't many with the |
I believe the issues were happening on an older version of besu, which didn't run the 'sequenced' transaction pool. |
The documentation states that transactions can be replaced by sending another transaction with identical nonce and higher gas price (as well as higher effective priority free) as determined by the --tx-pool-price-bump option.
For private networks with zeroBaseFee=true, how can one replace transactions? The documentation addresses free gas networks but it doesn't provide an answer, only that setting any value other than 0 --tx-pool-price-bump will cause an error. However it look like I have to increase the gas price because I otherwise get a 'known transaction' (when resending the same transaction) or 'replacement transaction underpriced' error.
Ideally I'm looking for an answer for both post and pre london fork (eip 1559), but any help is appreciated.
The text was updated successfully, but these errors were encountered: