-
Notifications
You must be signed in to change notification settings - Fork 949
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
parallel calls to blob.Submit sometimes trigger broadcast tx error: account sequence mismatch #3986
Comments
sure. It mostly fixes parallel submission, the sequence error is obviously gone. It uncovers some other issue tho, which seems to happen much less frequently:
|
looking at the code there I think it's more of a workaround than a fix. Will it still fire up when using a grpc to communicate with app node directly? |
Do you know how the other transactions on other threads fail? If it's all nonce mismatch that's odd because there a lock on the server side. However, if one fails for some other reason (not enough gas) then all subsequent transactions will fail for nonce error |
I've also hit the same issue. Here is the code to reproduce: https://gist.github.com/i1i1/334739168b97242e1ba3812872ecff00 I also sometimes hit the error:
Also tried the version with fix #3980 and now it always hits the error with transaction being rejected. |
Honestly this sounds like an issue on its own. Will check that tomorrow in my repro, but doesn't seem to be the case in what @i1i1 shown |
Some other error that happened when running with #3980
|
So far I haven't seen any issue wrt gas, here is an output with other threads
|
So it looks like there is a concurrency related issue but not with the I will look to provide a patch |
So I think there is still some issue on the client side, not sure if in celestia-app or node (likely in the app tho). I just wrote some initial TxClient for rust and it has no issues when submitting hundreds of tx's in parallel, while I can easily reproduce it with rpc calls into celestia-node. Both clients are running with celestia-app 3.0.2 |
Celestia Node version
0.20.4
OS
nixos unstable with asahi
Install tools
docker
Others
No response
Steps to reproduce it
I'm reposting #3164 (comment) as a new issue per request from @Bidon15. Related to #3164 and #3980.
In lumina for a long time we had a lock in rpc tests that sequenced calls to blob.Submit. I tried removing it and it still quite reliably results in:
For reproduction
After it reproduces, all subsequent calls fail with this error
Expected result
no errors
Actual result
Relevant log output
No response
Is the node "stuck"? Has it stopped syncing?
No response
Notes
No response
The text was updated successfully, but these errors were encountered: