-
Notifications
You must be signed in to change notification settings - Fork 754
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
Random "Digest item must match that calculated." #5008
Comments
Stop using the |
Thanks for the quick reply! I'll try it and report you back. |
It didn't help. The node still panics randomly with "Digest item must match that calculated." https://github.com/Atleta-network/atleta/blob/fix/node-wont-sync/node/src/service.rs#L41 |
Adding flag |
Hmm. It should not ignore the code substitute. You know that the substitute is only being used until the |
The spec version isn't changed around the block number 500 000. We have 2 substitutes in the chainspec and one of them is on 4695 (where the issue happens). I run the node with updated I'm currently debugging it and I see, that |
Good that you are debugging! If you found something, please report back! |
It looks like |
Yeah, this only supports one spec version. Generally the assumption is that the |
When we try to sync from scratch, node panics randomly with "Digest item must match that calculated" with the same build, but at different runs:
Screen.Recording.2024-07-12.at.00.36.47-1.mov
We have a code substitute around the block which the last imported in the log. It's there, because we updated our nodes previously without incrementing runtime version. Without the code substitute, the node panics with the error at the block each time.
Moreover, all our nodes are running by us and synced from db backup up until block 551052, which is far away from 4695, where the panic appears.
And if we try to downgrade the node to the initial version and sync it, the issue disappears.
The text was updated successfully, but these errors were encountered: