Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose intermediate state #1994

Open
Stebalien opened this issue Feb 20, 2024 · 1 comment
Open

Expose intermediate state #1994

Stebalien opened this issue Feb 20, 2024 · 1 comment

Comments

@Stebalien
Copy link
Member

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).
@rjan90
Copy link
Contributor

rjan90 commented May 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants