forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport paritytech#5103 (paritytech#5123)
This PR backports hotfix from paritytech#5103 --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> Co-authored-by: Bastian Köcher <git@kchr.de>
- Loading branch information
1 parent
723506d
commit 61d1dfd
Showing
5 changed files
with
157 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
title: Skip genesis leaf to unblock syncing | ||
|
||
doc: | ||
- audience: | ||
- Node Operator | ||
- Node Dev | ||
description: | | ||
This PR skips over the genesis block reported as leaf when calculating displaced branches. | ||
In those cases, when the genesis block is reported as leaf, the node would compute the path | ||
from the current finalized block to the genesis block. This operation is time consuming and | ||
is enough to block syncing. In the current state, the genesis block is assumed to always be | ||
part of the finalized chain. | ||
|
||
crates: | ||
- name: sc-client-db | ||
bump: none | ||
- name: sp-blockchain | ||
bump: patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters