Skip to content

Commit

Permalink
chore: forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
0xClandestine committed Feb 5, 2025
1 parent f4ff305 commit 89cce27
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions test/unit/ServiceManagerBase.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -728,15 +728,13 @@ contract ServiceManagerBase_UnitTests is MockAVSDeployer, IServiceManagerBaseEve

// 2. Create reward submission input param
// Create operator rewards array
IRewardsCoordinatorTypes.OperatorReward[] memory operatorRewards =
IRewardsCoordinatorTypes.OperatorReward[] memory operatorRewards =
new IRewardsCoordinatorTypes.OperatorReward[](1);
operatorRewards[0] = IRewardsCoordinatorTypes.OperatorReward({
operator: address(0x1),
amount: amount
});
operatorRewards[0] =
IRewardsCoordinatorTypes.OperatorReward({operator: address(0x1), amount: amount});

// Create rewards submission
IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission[] memory rewardsSubmissions =
IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission[] memory rewardsSubmissions =
new IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission[](1);
rewardsSubmissions[0] = IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission({
strategiesAndMultipliers: defaultStrategyAndMultipliers,
Expand Down Expand Up @@ -816,7 +814,6 @@ contract ServiceManagerBase_UnitTests is MockAVSDeployer, IServiceManagerBaseEve

// Create multiple rewards submissions and their expected event
for (uint256 i = 0; i < numSubmissions; ++i) {

// 1. Bound fuzz inputs to valid ranges and amounts using randSeed for each
amount = bound(amount + i, 1, MAX_REWARDS_AMOUNT);
// amounts[i] = amount;
Expand All @@ -843,11 +840,10 @@ contract ServiceManagerBase_UnitTests is MockAVSDeployer, IServiceManagerBaseEve
}

// 2. Create reward submission input param
IRewardsCoordinatorTypes.OperatorReward[] memory operatorRewards = new IRewardsCoordinatorTypes.OperatorReward[](1);
operatorRewards[0] = IRewardsCoordinatorTypes.OperatorReward({
operator: address(0x1),
amount: amount
});
IRewardsCoordinatorTypes.OperatorReward[] memory operatorRewards =
new IRewardsCoordinatorTypes.OperatorReward[](1);
operatorRewards[0] =
IRewardsCoordinatorTypes.OperatorReward({operator: address(0x1), amount: amount});

IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission memory rewardsSubmission =
IRewardsCoordinatorTypes.OperatorDirectedRewardsSubmission({
Expand Down

0 comments on commit 89cce27

Please sign in to comment.