ref-fvm icon indicating copy to clipboard operation
ref-fvm copied to clipboard

Expose intermediate state

Open Stebalien opened this issue 1 year ago • 2 comments

At the moment, the FVM discards intermediate state and only flushes the final state-tree. However, for debugging (tracing, etc.), intermediate state can be useful.

We should provide a way to flush intermediate state. Something like:

  1. A flag that causes intermediate state to be flushed. If we do it this way, we'll have to be careful to only use this flag when we've replaced the blockstore with a temporary blockstore.
  2. A second blockstore for intermediate state (along with, possibly, a flag to actually use it).

Stebalien avatar Feb 20 '24 17:02 Stebalien

This is no longer a pre-requiste for https://github.com/filecoin-project/lotus/issues/11635. And it is not clear if there is a big request for exposing intermediate state from our users.

rjan90 avatar May 14 '24 21:05 rjan90