-
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
Warp sync crash (final_outcome.encoded_size() <= MAX_WARP_SYNC_PROOF_SIZE) #6957
Comments
@RomarQ ty for reporting, why is the operator running a debug build? :D |
Thanks for having a look at it. We currently have Will probably disable it for production.
|
These images are only used for testing and not for production. |
There was the chance that a `WarpProof` was bigger than the maximum warp sync proof size. This could have happened when inserting the last justification, which then may pushed the total proof size above the maximum. The solution is simply to ensure that the last justfication also fits into the limits. Close: #6957 --------- Co-authored-by: command-bot <>
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
A user reported the following crash on the moonbeam repository, it happened when using warp sync and the service was running for a month before crashing.
polkadot-sdk/substrate/client/consensus/grandpa/src/warp_proof.rs
Lines 183 to 185 in 53f6473
Important to note that the panic didn't happen again since the user restarted the node.
Steps to reproduce
Does not seem easy to reproduce.
The text was updated successfully, but these errors were encountered: