-
Notifications
You must be signed in to change notification settings - Fork 703
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
babe: clarify UnexpectedEpochChange
#2815
Comments
The error is returned if we find an epoch change digest entry in the header when it is not expected to be present (e.g. in the mid of the epoch). Thus the error is not really related to the problem solved by paritytech/substrate#11727 Feel free to re-open if this doesn't answer to your question |
That makes sense to me. I hardly agree it's unrelated though, having no blocks produced in a whole session could be a special case of this branch from what I see. We recently encountered the |
If you change the epoch duration by a runtime upgrade (which isn't supported) you will also get an |
If I'm not wrong, the infamous
unexpected epoch change
error so far was all caused by having no blocks produced within a babe session, which is no longer an issue since paritytech/substrate#11727. Is it okay to remove it from now on? Or is there any other exception that may run into this error? cc @andresilvapolkadot-sdk/substrate/client/consensus/babe/src/lib.rs
Lines 1520 to 1522 in 7070b65
The text was updated successfully, but these errors were encountered: