Skip to content

Commit

Permalink
fix: comma
Browse files Browse the repository at this point in the history
  • Loading branch information
0xrajath committed Dec 16, 2024
1 parent 6385a71 commit d96e79d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions script/TestRewardsV2.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ contract TestRewardsV2 is Script {
multiplier: 1e18
});

defaultStrategyAndMultipliers = _sortStrategyArrayAsc(defaultStrategyAndMultipliers);
defaultStrategyAndMultipliers = _sortStrategyArrayAsc(
defaultStrategyAndMultipliers
);
}

function _sortStrategyArrayAsc(
Expand All @@ -64,8 +66,7 @@ contract TestRewardsV2 is Script {
return arr;
}


/// @dev Sort to ensure that the array is in ascending order for addresses
/// @dev Sort to ensure that the array is in ascending order for addresses
function _sortAddressArrayAsc(
address[] memory arr
) internal pure returns (address[] memory) {
Expand Down Expand Up @@ -161,7 +162,7 @@ contract TestRewardsV2 is Script {
}

function tx_6() public {
_setupStrategyAndMultiplier();
_setupStrategyAndMultiplier();

IRewardsCoordinator.OperatorReward[]
memory operatorRewards = new IRewardsCoordinator.OperatorReward[](
Expand All @@ -186,7 +187,7 @@ contract TestRewardsV2 is Script {
token: WETH,
operatorRewards: operatorRewards,
startTimestamp: uint32(1733788800), // 2024-12-10 00:00:00 UTC
duration: uint32(518400) // 6 days
duration: uint32(518400), // 6 days
description: ""
});

Expand Down

0 comments on commit d96e79d

Please sign in to comment.