-
Notifications
You must be signed in to change notification settings - Fork 744
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
Unable to restore network using export/import blocks - finality is lagging #1669
Comments
|
Yes, by default since we are only persisting justifications every 512 blocks (and for blocks that change the authorities) when you export the block data the latest justification data will not be available and hence why finality "moves back" after import. The node should start finalizing again after the import though (starting from block 512), not sure why that isn't happening. I will have a look. |
* batch transactions in message relay: API prototype * get rid of Box<dyn BatchTransaction> and actually submit it * test batch transactions * message_lane_loop_works_with_batch_transactions * removed logger * BatchConfirmationTransaction + BatchDeliveryTransaction * more prototyping * fmt * continue with batch calls * impl BatchCallBuilder for () * BatchDeliveryTransaction impl * BundledBatchCallBuilder * proper impl of BundledBatchCallBuilder + use it in RialtoParachain -> Millau * impl prove_header in OnDemandHeadersRelay * impl OnDemandParachainsRelay::prove_header (needs extensive tests) * added a couple of TODOs * return Result<Option<BatchTx>> when asking for more headers * prove headers when reauire_* is called && return proper headers from required_header_id * split parachains::prove_header and test select_headers_to_prove * more traces and leave TODOs * use finality stream in SubstrateFinalitySource::prove_block_finality * prove parachain head at block, selected by headers relay * const ANCIENT_BLOCK_THRESHOLD * TODO -> proof * clippy and spelling * BatchCallBuilder::build_batch_call() returns Result * read first proof from two streams * FailedToFindFinalityProof -> FinalityProofNotFound * changed select_headers_to_prove to version from PR review
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
If substrate node runs dev network for some time (problem observed with ~600 blocks), after exporting blocks and importing them into a new base-path, last finalized block is moved back, and finality lags. Basically, user is unable to backup and restore the network by using export/import blocks subcommands.
Steps to reproduce
The text was updated successfully, but these errors were encountered: