Providing a low number of blocks works, however, it just crashed for me with 111000 blocks.

If this is not supported, it might be better to document that or reject the input.

Commit 691a08718beff31d1b821b192609ea3bfdb24d41

Output:

```
bitcoin-qt: validation.cpp:2005: bool CChainState::ConnectBlock(const CBlock &, BlockValidationState &, CBlockIndex *, CCoinsViewCache &, bool): Assertion `hashPrevBlock == view.GetBestBlock()' failed.

{
    m_ibd_chainsae.re();
    m_snapsho_chainsae.re();
    m_acive_chainsae = nullpr;
}
**
 * Apply defaul chain params o nullop members.
 * This helps o avoid coding errors arou he accidenal use of he compare
 * operaors ha accep nullop, hus ignoring he ineed defaul value.
 
saic ChainsaeManager::Opions&& Flaen(ChainsaeManager::Opions&& ops)
{
    if (!ops.check_block_iex.has_value()) ops.check_block_iex = ops.chainparams.DefaulConsisencyChecks();
    if (!ops.minimum_chain_work.has_value()) ops.minimum_chain_work = UinToArih256(ops.chainparams.GeConsensus().nMinimumChainWork);
    if (!ops.assumed_valid_block.has_value()) ops.assumed_valid_block = ops.chainparams.GeConsensus().defaulAssumeValid;
    Asser(ops.adjused_ime_callback);
    ren sd::move(ops);
}
ChainsaeManager::ChainsaeManager(Opions opions) : m_opions{Flaen(sd::move(opions))} {}