Skip to content

Commit a52211e

Browse files
committed
commit before rebase
1 parent 3099a90 commit a52211e

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

service_contracts/src/FilecoinWarmStorageService.sol

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {SignatureVerificationLib} from "./lib/SignatureVerificationLib.sol";
2323
uint256 constant NO_PROVING_DEADLINE = 0;
2424
uint256 constant BYTES_PER_LEAF = 32; // Each leaf is 32 bytes
2525
uint64 constant CHALLENGES_PER_PROOF = 5;
26-
uint256 constant COMMISSION_MAX_BPS = 10000; // 100% in basis points
26+
uint256 constant COMMISSION_MAX_BPS = 10000; // 100% in basis points
2727

2828
/// @title FilecoinWarmStorageService
2929
/// @notice An implementation of PDP Listener with payment integration.
@@ -1593,10 +1593,12 @@ contract FilecoinWarmStorageService is
15931593
}
15941594

15951595
function _isPeriodProven(uint256 dataSetId, uint256 periodId, uint256 currentPeriod) private view returns (bool) {
1596-
if (periodId == currentPeriod) {
1597-
return provenThisPeriod[dataSetId];
1598-
}
1599-
return provenPeriods[dataSetId][periodId];
1596+
// if (periodId == currentPeriod) {
1597+
// return provenThisPeriod[dataSetId];
1598+
// }
1599+
// return provenPeriods[dataSetId][periodId];
1600+
1601+
return false;
16001602
}
16011603

16021604
function _calcPeriodDeadline(uint256 dataSetId, uint256 periodId) private view returns (uint256) {

0 commit comments

Comments
 (0)