Skip to content
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

devnet: occassionally seeing error "header does not contain pre-runtime digest" #2014

Closed
noot opened this issue Nov 10, 2021 · 1 comment · Fixed by #2092
Closed

devnet: occassionally seeing error "header does not contain pre-runtime digest" #2014

noot opened this issue Nov 10, 2021 · 1 comment · Fixed by #2092
Assignees

Comments

@noot
Copy link
Contributor

noot commented Nov 10, 2021

Task summary

  • occasionally on the devnet, I've seen the following error when a node tries to sync a block another node built:
EROR[11-10|23:29:05] ready block failed                       pkg=sync hash=0x7075f64377d6406f817055f833863af2f62c5ecf6b6cbb2b1b5261c42aba7e65 error="could not verify block: failed to get epoch for block header: header does not contain pre-runtime digest" caller=chain_processor.go:96

for some reason, the pre-runtime digest of the block is missing, so the node can't verify it.

there are a few possible reasons for this:

  1. the block producer didn't add the pre-runtime digest. this would be really bad, and probably isn't the case, as the BABE code always adds it. however would be good to double check
  2. some encoding/decoding error. potentially the block is missing the pre-runtime digest when it's being encoded on the sender side, or it's missing it when decoded on the receiver side.
@github-actions
Copy link

github-actions bot commented Dec 3, 2021

🎉 This issue has been resolved in version 0.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants