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
Copy file name to clipboardExpand all lines: service_contracts/src/Errors.sol
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -202,7 +202,10 @@ library Errors {
202
202
error RailNotAssociated(uint256railId);
203
203
204
204
/// @notice The epoch range is invalid
205
-
/// @notice Will be emitted if any of the following conditions is NOT met - (fromEpoch must be less than toEpoch), (toEpoch must be greater than block number), (toEpoch must be greater than the activation epoch)
205
+
/// @notice Will be emitted if any of the following conditions is NOT met :
206
+
/// @notice 1. fromEpoch must be less than toEpoch
207
+
/// @notice 2. toEpoch must be greater than block number
208
+
/// @notice 3. toEpoch must be greater than the activation epoch
206
209
/// @param fromEpoch The starting epoch (exclusive)
@@ -1532,7 +1535,7 @@ contract FilecoinWarmStorageService is
1532
1535
1533
1536
// now handle the last period separately
1534
1537
if (_isPeriodProven(dataSetId, endingPeriod, currentPeriod)) {
1535
-
// then the epochs to add = `endingPeriod_starting` to `toEpoch`. But since `endingPeriod_starting` is simply the ending of its previous period + 1, so epochs : (`deadline + 1` -> `to`)
1538
+
// then the epochs to add = `endingPeriodStarting` to `toEpoch`. But since `endingPeriodStarting` is simply the ending of its previous period + 1, so epochs : (`deadline + 1` -> `to`)
0 commit comments