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
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -201,7 +201,8 @@ library Errors {
201
201
/// @param railId The rail ID
202
202
error RailNotAssociated(uint256railId);
203
203
204
-
/// @notice The epoch range is invalid (toEpoch must be > fromEpoch)
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
206
/// @param fromEpoch The starting epoch (exclusive)
if (_isPeriodProven(dataSetId, endingPeriod, currentPeriod)) {
1531
-
// 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`)
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`)
0 commit comments