Update for warp sync (#3564)

* Update for warp sync

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Arkadiy Paronyan
2021-10-07 12:46:42 +02:00
committed by GitHub
parent 4582c7d92e
commit 8f838f2bde
3 changed files with 181 additions and 167 deletions
@@ -96,6 +96,7 @@ impl HeaderBackend<Block> for TestClient {
finalized_number,
number_leaves: 0,
finalized_state: None,
block_gap: None,
}
}
fn number(&self, hash: Hash) -> sp_blockchain::Result<Option<BlockNumber>> {