@@ -581,6 +581,7 @@ contract ServiceManagerBase_createOperatorDirectedOperatorSetRewardsSubmission_U
581581 }
582582
583583 function testFuzz_createOperatorDirectedOperatorSetRewardsSubmission_Correctness () public {
584+ vm.warp (block .timestamp - (block .timestamp % CALCULATION_INTERVAL_SECONDS));
584585 allocationManagerMock.setIsOperatorSet (operatorSet, true );
585586
586587 uint256 numSubmissions = cheats.randomUint (1 , 10 );
@@ -599,7 +600,7 @@ contract ServiceManagerBase_createOperatorDirectedOperatorSetRewardsSubmission_U
599600 uint256 totalAmount = 0 ;
600601
601602 for (uint256 j = 0 ; j < numOperators; ++ j) {
602- address operator = cheats. randomAddress ( );
603+ address operator = address ( uint160 (j + 1 ) );
603604 uint256 amount = cheats.randomUint (1 ether, 100 ether);
604605 operatorRewards[j] =
605606 IRewardsCoordinatorTypes.OperatorReward ({operator: operator, amount: amount});
@@ -610,14 +611,16 @@ contract ServiceManagerBase_createOperatorDirectedOperatorSetRewardsSubmission_U
610611 strategiesAndMultipliers: defaultStrategyAndMultipliers,
611612 token: rewardTokens[i % rewardTokens.length ],
612613 operatorRewards: operatorRewards,
613- startTimestamp: uint32 (block .timestamp ),
614- duration: uint32 (1 weeks ),
614+ startTimestamp: uint32 (block .timestamp - CALCULATION_INTERVAL_SECONDS ),
615+ duration: uint32 (CALCULATION_INTERVAL_SECONDS ),
615616 description: string .concat ("Test submission # " , cheats.toString (i))
616617 });
617618
618619 totalAmounts[i] = totalAmount;
619620 }
620621
622+ vm.warp (block .timestamp + 1 );
623+
621624 permissionControllerMock.setCanCall ({
622625 account: address (this ),
623626 caller: address (serviceManager),
0 commit comments