-
Notifications
You must be signed in to change notification settings - Fork 700
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
author_submitAndWatchExtrinsic
reports incorrect block hash when there are missed authorship slots
#6479
Comments
So, what you are saying it reports |
Is it |
Would you also provide a version of the node used? |
Thanks for taking a look into this.
Yes, that's correct.
We using polkadot-sdk version 1.15 - in particular this fork: https://github.com/chainflip-io/polkadot-sdk/tree/chainflip-substrate-1.15.2%2B2
In this case, they are sent directly to one of the authoring nodes via localhost. There's effectively a side-car component reading from the validator/author that is listening and submitting extrinsics to it, though ofc, this node isn't always the author.
It's not fork-aware. I wasn't aware of fork-aware 😄 |
What is the reproducibility rate? |
I've only seen it once unfortunately. Since the network has had less congestion since, there have been fewer missed authorship slots and so there is already only a small chance that we would even get into a situation it was possible for this to occur. |
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
What we've seen on the Chainflip network:
author_submitAndWatchExtrinsic
and eventually getInBlock(A)
I'm assuming it has to do with the fact there were missed authorship slots at that time. In block A (on the finalised chain) we see that there are two missing authorship events, meaning that the authors of the two previous blocks missed their slots.
This behaviour from the subscription, would still be incorrect though, since even in the case of a reorg, the fact the extrinsic was in a different block would change the hash of block A, but the block with hash A still exists, without the extrinsic we were looking for.
We are using Aura for block authorship.
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: