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
Transactions stuck in pending in dev-mode #29475
Comments
This comment was marked as spam.
This comment was marked as spam.
PSA: @fuelmessenger is not anything we're familiar with , might be a scam, so I'll hide those posts |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Ok it was not related after all. The stuckness I am experiencing was done first sequentially, one transaction after the other and not in parallel.
I have problem too sending parallel transactions to |
simaoueh's solution does not solve my problem |
The reason is that the transaction indexing is in progress error |
System information
Steps to reproduce the behaviour
go-ethereum
in a dev-mode with block generation on demandStress-testing script I used for reproducing this behavior.
Stress-testing output
Expected behaviour
geth --dev
accepts and executes transactions concurrently.Actual behaviour
Transactions are accepted but stuck in the pool:
Looks like the root cause is the deadlock between
SimulatedBeacon
andTxPool
waiting each other. Overall, the following happens:and at the same time
So, when new TXs are sent concurrently,
LegacyPool
waitsSimulatedBeacon
to react to the new TX but the
SimulatedBeacon
itself waitsLegacyPool
tosync itself.
Backtrace
Nothing too suspicious in logs, but stacktraces contain two goroutines
indirectly waiting each other though:
Thank you for reviewing this report!
The text was updated successfully, but these errors were encountered: