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

Polkadot node warning "unexpected canonical chain state…" #59

Open
ggwpez opened this issue Apr 21, 2022 · 3 comments
Open

Polkadot node warning "unexpected canonical chain state…" #59

ggwpez opened this issue Apr 21, 2022 · 3 comments

Comments

@ggwpez
Copy link
Member

ggwpez commented Apr 21, 2022

I synced a Polkadot from a Polkachu snapshot, which worked fine.
Then after some time it printed this:

Error importing block 0x62fbc8c30cabdab4d0a92234c1556a26c6bc090cf4c14b9eafca6e4ca30311bc: consensus error: Import failed: Parent block of 0x62fb…11bc has no associated weight

It kept importing blocks but would print the following warning every now and then:

unexpected canonical chain state or malformed finality notification

Here the -lbabe=trace log with these warnings in them: log.txt.
@bkchr pobably knows what this means 😃

@bkchr
Copy link
Member

bkchr commented Apr 21, 2022

With paritytech/substrate#11263

unexpected canonical chain state or malformed finality notification

should be gone.

I think the other error may comes from having a fork block in the queue while we already have finalized past this fork and then we get this error?

WDYT @andresilva @davxy

@andresilva
Copy link
Contributor

I think the other error may comes from having a fork block in the queue while we already have finalized past this fork and then we get this error?

I think this can definitely happen. One option would be to add some leeway and prune N blocks after last finalized.

@bkchr
Copy link
Member

bkchr commented Apr 22, 2022

Yeah, we could probably store the finalized heads/stale heads in the aux store and then remove them later when something else gets finalized.

@the-right-joyce the-right-joyce transferred this issue from paritytech/substrate Aug 24, 2023
lexnv pushed a commit that referenced this issue Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: backlog
Development

No branches or pull requests

3 participants