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
When calculating the penalty, the current FaultyPower is used
func (st *State) AdvanceDeadline(store adt.Store, currEpoch abi.ChainEpoch) (*AdvanceDeadlineResult, error) {
// ...
previouslyFaultyPower := deadline.FaultyPower
// ...
// Compute penalties all together.
// Be very careful when changing these as any changes can affect rounding.
return &AdvanceDeadlineResult{
PledgeDelta: pledgeDelta,
PowerDelta: powerDelta,
PreviouslyFaultyPower: previouslyFaultyPower,
DetectedFaultyPower: detectedFaultyPower,
TotalFaultyPower: totalFaultyPower,
}, nil
}
result, err := st.AdvanceDeadline(store, currEpoch)
builtin.RequireNoErr(rt, err, exitcode.ErrIllegalState, "failed to advance deadline")
// Faults detected by this missed PoSt pay no penalty, but sectors that were already faulty
// and remain faulty through this deadline pay the fault fee.
penaltyTarget := PledgePenaltyForContinuedFault(
rewardSmoothed,
qualityAdjPowerSmoothed,
result.PreviouslyFaultyPower.QA,
)
There will be a phenomenon: I did not submit the entire partition, I have a chance of exemption from punishment, but if I submit the partition, but skip some sectors, I will be punished immediately
The text was updated successfully, but these errors were encountered:
specs-actors v6
SubmitWindowedPoSt will update FaultyPower immediately
When calculating the penalty, the current FaultyPower is used
There will be a phenomenon: I did not submit the entire partition, I have a chance of exemption from punishment, but if I submit the partition, but skip some sectors, I will be punished immediately
The text was updated successfully, but these errors were encountered: