Skip to content

Commit

Permalink
[stable2407] Backport #7050 (#7058)
Browse files Browse the repository at this point in the history
Backport #7050 into `stable2407` from skunert.

See the
[documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md)
on how to use this bot.

<!--
  # To be used by other automation, do not modify:
  original-pr-number: #${pull_number}
-->

Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
  • Loading branch information
1 parent fb9b95d commit 826bb49
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down
11 changes: 11 additions & 0 deletions prdoc/pr_7050.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
title: Avoid incomplete block import pipeline with full verifying import queue
doc:
- audience: Node Dev
description: |-
When warp syncing a node using the equivocation checking verifier, we now properly set the fork_choice rule.
Affected are mostly nodes that are derived from the parachain template. Omni-node is not affected.

The prevents the error `ClientImport("Incomplete block import pipeline.")` after state sync.
crates:
- name: cumulus-client-consensus-aura
bump: patch

0 comments on commit 826bb49

Please sign in to comment.