Make state storage fork aware.
Zurcusa opened this issue · 0 comments
Zurcusa commented
When we are executing non finalized blocks forks can happen. These forks need to only finalize their storage state (update the disk storage) when they are finalized. If a fork is pruned its changes are discarded and any existing transactions in the pruned blocks must be returned to the TQ or TP.