Skip to content
Snippets Groups Projects
Unverified Commit 3d9eddbe authored by Sebastian Kunert's avatar Sebastian Kunert
Browse files

Import warp synced block as best block. Avoid incomplete import pipeline.

parent 721f6d97
Branches
No related merge requests found
Pipeline #510681 waiting for manual action with stages
in 4 minutes and 19 seconds
......@@ -97,6 +97,7 @@ where
// This is done for example when gap syncing and it is expected that the block after the gap
// was checked/chosen properly, e.g. by warp syncing to this block using a finality proof.
if block_params.state_action.skip_execution_checks() || block_params.with_state() {
block_params.fork_choice = Some(ForkChoiceStrategy::Custom(block_params.with_state()));
return Ok(block_params)
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment