Skip to content

Commit 78eeb8a

Browse files
committed
fixed a doc mistype in Errors.sol
1 parent 8ffc573 commit 78eeb8a

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

service_contracts/src/Errors.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ library Errors {
204204
/// @notice The epoch range is invalid
205205
/// @notice Will be emitted if any of the following conditions is NOT met :
206206
/// @notice 1. fromEpoch must be less than toEpoch
207-
/// @notice 2. toEpoch must be greater than block number
207+
/// @notice 2. toEpoch must be less than block number
208208
/// @notice 3. toEpoch must be greater than the activation epoch
209209
/// @param fromEpoch The starting epoch (exclusive)
210210
/// @param toEpoch The ending epoch (inclusive)

service_contracts/src/FilecoinWarmStorageService.sol

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,6 @@ contract FilecoinWarmStorageService is
14861486
}
14871487
uint256 currentPeriod = getProvingPeriodForEpoch(dataSetId, block.number);
14881488

1489-
// if `toEpoch` lies after activation, and `fromEpoch` lies before activation, then update the `fromEpoch`, as follows :
14901489
if (fromEpoch < activationEpoch - 1) {
14911490
fromEpoch = activationEpoch - 1;
14921491
}

0 commit comments

Comments
 (0)