Question: txpool
behaviour after dropping unpayable tx
#2050
Unanswered
kamikazechaser
asked this question in
Help (Q&A)
Replies: 2 comments
-
@kamikazechaser Do you see any trace messages after tx |
Beta Was this translation helpful? Give feedback.
0 replies
-
I did not save the trace dump but will get a new one asap. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To reproduce:
I manage my own nonces and push a lot of transactions fast to the node. In some cases, if my balance is not enough, the node will accept the tx but then immediately drop it. Any future tx that I send gets rejected. If I top up my gas balance and try to resubmit the tx, it goes into a pending state (txpool_inspect) but never gets mined. Restarting the node will finally get it mined. Here is a timeline roughly describing the scenario:
My question is:
Why does the resubmitted tx go into an indefinite pending state yet it seemingly seems to fulfill txpool accept conditions (enough gas, correct next nonce)? Whereas restarting the local node (which will load the same pending tx from the journal) will get it mined immediately.
Is there still a reference to tx B somehow even after it is dropped? tx C leads me to believe so.
Beta Was this translation helpful? Give feedback.
All reactions