erigontech / erigon

Ethereum implementation on the efficiency frontier https://erigon.gitbook.io
GNU Lesser General Public License v3.0
3.1k stars 1.09k forks source link

Fix bor-heimdall stall after chaindb removal #11863

Closed manav2401 closed 1 week ago

manav2401 commented 1 week ago

In the first run, init validators was skipped due to the check. Updated it by checking the erigon3 code to init snapshot for 1st block (this logic is borrowed from main branch).

cherry-pick adaptation of https://github.com/erigontech/erigon/pull/11725