You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a way to easily export state to a CAR from a simulation. I've written a command to export an arbitrary DAG, but it would be nice to have something a little more integrated to export a specific actor's state at a specific epoch on a specific simulation. E.g.:
lotus-sim [--simulation=...] state [--height=...] export [f0....]
Where the height, simulation, and actor are optional (if no actor is specified, we should export the state-tree.
The text was updated successfully, but these errors were encountered:
We could integrate this with the chain get /ipld/path/with/the/selector/like/thing/@Ha:t0123/@state command (and add an --export flag to it)
(for that to work we also would need to update the lotus resolveOnce to work with different h/amt versions / widths (possibly just using ctx values to carry some metadata about network version))
Yeah. The main issue is that the lotus simulation runs offline and I'd rather not spin up a node just to export something. Ideally the simulation would run as a daemon and expose the API, but that's more complicated.
Simulation branch: #6406
We need a way to easily export state to a CAR from a simulation. I've written a command to export an arbitrary DAG, but it would be nice to have something a little more integrated to export a specific actor's state at a specific epoch on a specific simulation. E.g.:
Where the height, simulation, and actor are optional (if no actor is specified, we should export the state-tree.
The text was updated successfully, but these errors were encountered: