[ethereum/go-ethereum] light: CHT and bloom trie indexers working in light mode (#16534)

so what happens is that ChainIndexer calls backend.Reset with previous section:
https://github.com/ethereum/go-ethereum/blob/master/core/chain_indexer.go#L347
in the next step it tries to initialize a trie with a root that doesn’t exist in database
https://github.com/ethereum/go-ethereum/blob/master/light/postprocess.go#L155
it fails and goes into corrupted state:
https://github.com/ethereum/go-ethereum/blob/master/core/chain_indexer.go#L348

Добавить комментарий