Unverified Commit 2b4b33d0 authored by Rahul Subramaniyam's avatar Rahul Subramaniyam Committed by GitHub
Browse files

Check for parent of first ready block being on chain (#1812)

When retrieving the ready blocks, verify that the parent of the first
ready block is on chain. If the parent is not on chain, we are
downloading from a fork. In this case, keep downloading until we have a
parent on chain (common ancestor).

Resolves https://github.com/paritytech/polkadot-sdk/issues/493

.

---------

Co-authored-by: default avatarAaro Altonen <[email protected]>
parent 93d9c8c2
Pipeline #399258 passed with stages
in 42 minutes and 7 seconds
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