Skip to content

Expose intermediate state #1994

New issue

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

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

Already on GitHub? # to your account

Open
Stebalien opened this issue Feb 20, 2024 · 2 comments
Open

Expose intermediate state #1994

Stebalien opened this issue Feb 20, 2024 · 2 comments

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.

@rvagg
Copy link
Member

rvagg commented Jan 13, 2025

#2101

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants