feat: add canonical_headers_range (#1795)

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
This commit is contained in:
Matthias Seitz
2023-03-17 01:06:32 +01:00
committed by GitHub
parent 57894f7b98
commit 241ec32abf
16 changed files with 114 additions and 49 deletions

View File

@@ -462,7 +462,7 @@ impl<Client: HeaderProvider + BlockProvider + StateProviderFactory + EvmEnvProvi
}
// Attempt to look up terminal block hash
let local_hash = self.client.block_hash(U256::from(terminal_block_number.as_u64()))?;
let local_hash = self.client.block_hash(terminal_block_number.as_u64())?;
// Transition configuration exchange is successful if block hashes match
match local_hash {