[X] This is not brainstorming ideas. If you have an idea you'd like to discuss, please open a new discussion on the lotus forum and select the category as Ideas.
[X] I have a specific, actionable, and well motivated feature request to propose.
Lotus component
[ ] lotus daemon - chain sync
[ ] lotus fvm/fevm - Lotus FVM and FEVM interactions
[ ] lotus miner/worker - sealing
[ ] lotus miner - proving(WindowPoSt/WinningPoSt)
[ ] lotus JSON-RPC API
[ ] lotus message management (mpool)
[X] Other
What is the motivation behind this feature request? Is your feature request related to a problem? Please describe.
When a storage provider wants to extend the lifetime of a sector/sectors they need to use the lotus-miner sectors extend command.
Currently this command will simulate which sectors will be extended, but the command does not tell the user that they would need add the --really-do-it flag to actually send the message.
When using the lotus-miner sectors extend we should make it clear that the --really-do-it flag needs to be passed to actually send the message, and give an estimate for how much the message will cost. Example:
lotus-miner sectors extend
Simulating extending 1 sectors:
{
"Extensions": [
{
"Deadline": 32,
"Partition": 0,
"Sectors": "81853",
"NewExpiration": 4484712
}
]
}
Simulating extending 1 sector - estimated costs xx.xxxFIL
You need to pass the --really-do-it flag to actully send the message
User story:
A storage provider should easily understand the next step to take when extending sector(s) through the CLI, and have a understanding of how much such a message would cost given the current baseFee.
Print additional line explaining that the --really-do-it flag flag needs to be added to actually send the message when lotus-miner sectors extend is executed without it.
Checklist
Ideas
.Lotus component
What is the motivation behind this feature request? Is your feature request related to a problem? Please describe.
When a storage provider wants to extend the lifetime of a sector/sectors they need to use the
lotus-miner sectors extend
command.Currently this command will simulate which sectors will be extended, but the command does not tell the user that they would need add the -
-really-do-it flag
to actually send the message.Current behaviour:
Describe the solution you'd like
When using the
lotus-miner sectors extend
we should make it clear that the--really-do-it flag
needs to be passed to actually send the message, and give an estimate for how much the message will cost. Example:User story:
Techincal scope:
lotus-miner sectors compact-partitions
cmd: https://github.com/filecoin-project/lotus/blob/594c52b96537a8c8728389b446482a2d7ea5617c/cmd/lotus-miner/sectors.go#L2380-L2388--really-do-it flag
flag needs to be added to actually send the message whenlotus-miner sectors extend
is executed without it.