fn apply_block_to_chain_lengths(
    chain_lengths: ChainLengths,
    block: &ExplorerBlock
) -> Result<ChainLengths, ExplorerError>