Capped Penalty for Sector Termination and Fault Slashing #712
Replies: 7 comments 20 replies
-
Btw, this is originally commented in #334 . Moving it here for comments as a separated discussion thread. |
Beta Was this translation helpful? Give feedback.
-
I support this, as it's a precondition that lending market for SP is possible on fvm. |
Beta Was this translation helpful? Give feedback.
-
Is the 90-day reward based on the estimate at the time of encapsulation? |
Beta Was this translation helpful? Give feedback.
-
Thanks for raising, @steven004. This is worth exploring, but I think there are challenges with any scheme that alters a sector's future penalties depending on its past. My understanding is that you are proposing accumulating a per-sector penalised amount, and terminating a sector if that amount is exceeded at any point, cumulatively, during the sector's life. I don't think we would be happy ending up with a scheme where some previously faulty sector faced a much lesser termination penalty than some others. Whatever the penalty cap, C, is, it would have to be much more than one termination penalty TP. As soon as a sector uses up Maintaining per-sector history information (even just one number) is extra per-sector state and heterogeneity, which I think we should be moving away from as a general design goal. It's costly on chain, and complicates some future scalability ideas. One thing we could easily do is reduce the 42 days to a smaller amount. I have forgotten why it was increased from 14 originally (I think I was absent when this happened) – maybe the justification is no longer relevant? If we still need the long time period, it may be possible to reduce the daily fee charged to a repeatedly-faulty sector such that the total 42*FF+TP is less than the current total. But each additional day still needs some penalty to act as incentive to either terminate or recover promptly. I think this is all orthogonal to ideas about changing termination penalty amounts – we can discuss both in parallel. I doubt we can justify zero termination penalty, but there may be room to adjust these penalties generally. |
Beta Was this translation helpful? Give feedback.
-
From what I am seeing, a lot of discussion could be saved if we have a clearer guiding principle of where we, the network as a whole, want Consensus V.S. StorageFilecoin is two completely different things depend on what you want to achieve with it on L1. It could be...
ProblemsAfter FIP0018, miners are indoctrinated into believing they are "storage providers" and consensus mining was seen as politically incorrect. Instead of properly incentivize miners into storage providing with With all the storage related gimics introduced on L1, miners are not able to hedge against macro economic uncertainty and complicating L1 protocol further is barring out lots of the potential for the network to grow. ConclusionIf we are to put the emphasis back on consensus mining, then the answers to many of design choices would be much more clear. All storage related SLA, game theory protocol design could be moved to L2 to further incentivize storage, which in turn making L1 consensus mining more attractive again. |
Beta Was this translation helpful? Give feedback.
-
I do not think we will conclude the discussion about CONSENSUS vs. STORAGE any time soon. And we have some other threads talking about this, including #725 , #774. This discuss is focusing on the sector fault slashing and early termination fee. Here, I would like to propose like the following:
So, the capped penalty of fault slashing and early termination fee is 70BR+49BR = 119BR. I would leave this proposal here for about one week for more comments before submitting the FIP PR. |
Beta Was this translation helpful? Give feedback.
-
Hey Alex Do you think we should finalize the no-termination fee for CC FIP here or start a separate discussion? |
Beta Was this translation helpful? Give feedback.
-
Several discussions have taken place regarding the collateral dilemma for supporting the power growth of storage providers (SPs), as mentioned in issue #666 . The underlying reason for this is outlined in #334 , highlighting the potential undesirable outcomes resulting from sector faults.
This proposal suggests implementing a capped penalty for sectors, encompassing both fault slashing and termination fees. The aim is to establish a predictable risk model for the lending market, and make the penalty more practical and reasonable.
Problem
Currently, if a sector remains faulty for 42 consecutive days, it is automatically removed from the chain state and incurs a termination fee. However, if the faults persist for a shorter duration before recovery, it may lead to excessive slashing throughout the sector's lifecycle. This raises the question of why a sector should not be terminated if faults persist for 41 days, recover for one day, and then experience another 40 days of faults.
Proposal 1
Introduce a capped penalty for sectors that includes fault slashing and termination fees, such as setting it at 90-day block rewards.
This approach aligns with general service contracts, where boundaries for penalties related to service interruptions are defined. In this case:
Proposal 2 (for future consideration perhaps)
Eliminate termination fees and slashing altogether, simplifying the process, as mentioned in #691 comment.
However, this may raise concerns about the data storage service agreement. Who would be willing to store data in Filecoin if sectors could be terminated without any penalty?
This option may not be feasible until we transition market, deal, and data handling to the upper layer, with operational services in place. By that time, we hope to achieve a data service level agreement for deals between clients and storage providers within user contracts, without impacting consensus.
Further Discussion
Beta Was this translation helpful? Give feedback.
All reactions