@ToBeRemoved @Kubuxu, @Łukasz Magiera
Definition of done + expectations for this milestone:
The lotus-miner binary's proving logic is organized into roughly two layers, the FSM which handles chain and deals subsystem interaction and implements configurable operation logic, and the sector storage layer which manages sector data and associated files, calling into the proving ffi as needed.
This issue is to add FSM support to the lotus miner for recording all of the application logic around doing snap deals replica updates. This means crafting new states and a path through them in the FSM taking sectors from empty to provably containing snap deals and recording this on-chain.
Done Criteria:
- 1) marked for snap deals
- 2) data added
- 3) sector-storage system performs an update, proof, and returns proof data
- 4) communication with the chain
- 5) cleanup of old sector data.
Dependencies:
This PR needs the following things done before it can be completed
Ongoing work can be tracked by checking:
Issues:
Relevant PR's
- PR that will introduce Snap deals support for sector storage by adding a new file type - #7615
Notes and remarks for this milestone
This isn't blocking the current implementation path but still needs to be done within the SnapDeals project
- we are really behind the original estimation, as we discussed In Madeira call.
- @ToBeRemoved and @Łukasz Magiera will pick up this line of work after we integrate lotus and actors work relevant for SnapDeal implementation.
We have been investigating and have a plan at this point for FSM, sector storage is a work in progress
- Implement snap deals without supporting updating snap deals with new deals
- We are going to do the MVP, which means not going to do this currently
Relevant docs
- Deal Inputs for the Design
- how we started the discussion + got feedback from Molly as product representative is in this doc: