curio: SPTool actor management cli tool #11733
Labels
area/MinerV2
lotus-provider
area/ux
Area: UX
curio
kind/feature
Kind: Feature
P1
P1: Must be resolved
Curio is currently missing a lot of commands which exist in lotus-miner that interact with the on-chain miner actor. A lot of those commands don't touch anything in lotus-miner at all, beyond maybe querying it for the related actor address.
In Curio we can rethink how interactions with the actor work, initially I propose a simple tool which is not tied to Curio at all, and simply allows interacting with any miner actor, mostly just porting existing commands from lotus-miner (and preserving most of the CLI structure)
existing lotus-miner cmds
lotus state miner-info
Native owner msig support:
proposals
lists proposals, decodes things, makes easy to send approves (hashed)SPTOOL
--actor
flag, possible to set with some env var likeSP_ADDRESS
(not specific to sptool so that other things can standardize on using that env var)actor
sectors
- maybe rename (→sector?); Maybe better to keep as it wasproving
- generally kept the sameproposals
- new command to list miner-related msig proposals and send approvalsmultisig
maybe?A lot of this can also be implemented in curio webui, but that will be vastly more work, and is not going to be easy to automate + be less familiar to existing SPs. Implementing SPTool will mostly involve moving around existing lotus-miner command code into a shared place + making the shared commands use the actor flag in sptool instead of the lotus-miner rpc to get the actor address
The text was updated successfully, but these errors were encountered: