• gary rong's avatar
    core: fix chain indexer (#19786) · 802074cb
    gary rong authored
    This PR fixes an issue in chain indexer. Currently chain indexer will
    validate whether the stored data is canonical by comparing section head
    and canonical hash. But the header of the checkpoint may not exist in
    the database. We should skip validation for sections below the
    checkpoint.
    802074cb
chain_indexer.go 16.9 KB