We are currently keeping all historical states in the DB, when they're mostly not needed. We should instead discard finalized ones, along with blocks.