Skip to content

Commit 5d7a7c0

Browse files
[stable2409] Backport #7050 (#7059)
Backport #7050 into `stable2409` 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>
1 parent c921152 commit 5d7a7c0

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

cumulus/client/consensus/aura/src/equivocation_import_queue.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ where
9797
// This is done for example when gap syncing and it is expected that the block after the gap
9898
// was checked/chosen properly, e.g. by warp syncing to this block using a finality proof.
9999
if block_params.state_action.skip_execution_checks() || block_params.with_state() {
100+
block_params.fork_choice = Some(ForkChoiceStrategy::Custom(block_params.with_state()));
100101
return Ok(block_params)
101102
}
102103

prdoc/pr_7050.prdoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
title: Avoid incomplete block import pipeline with full verifying import queue
2+
doc:
3+
- audience: Node Dev
4+
description: |-
5+
When warp syncing a node using the equivocation checking verifier, we now properly set the fork_choice rule.
6+
Affected are mostly nodes that are derived from the parachain template. Omni-node is not affected.
7+
8+
The prevents the error `ClientImport("Incomplete block import pipeline.")` after state sync.
9+
crates:
10+
- name: cumulus-client-consensus-aura
11+
bump: patch

0 commit comments

Comments
 (0)