Once we land the AccountTreeWithHistory<AccountTree<RocksDb>> implementation, we will have two distinct places for fetching persisted accounts data - the LargeSmt<_> and the SQLite database. Now whenever we get into a situation where we have a discrepancy between we need a path to resolve.
Proposal
- drop the
AccountTreeWithHistory and re-build from the SQL database recent history
- do something smarter™