Skip to main content

save_stage_checkpoints

Function save_stage_checkpoints 

Source
pub fn save_stage_checkpoints<P>(
    provider: P,
    from: BlockNumber,
    to: BlockNumber,
    processed: u64,
    total: u64,
) -> ProviderResult<()>
Expand description

Saves progress of ERA import into stages sync.

Never marks Execution done: this import writes no state, so moving that checkpoint would let a node start from blocks whose accounts and storage were never written.