Skip to content

Commit

Permalink
Upgrade forge-std to v1.7.6 (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeSandwich committed Feb 28, 2024
1 parent a8ed071 commit b9be7ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/forge-std
2 changes: 1 addition & 1 deletion test/Splits.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ contract SplitsTest is Test, Splits {
SplitsReceiver[_MAX_SPLITS_RECEIVERS] memory receiversRaw,
uint256 receiversLengthRaw,
uint256 totalWeightRaw
) internal view returns (SplitsReceiver[] memory receivers) {
) internal pure returns (SplitsReceiver[] memory receivers) {
for (uint256 i = 0; i < receiversRaw.length; i++) {
for (uint256 j = i + 1; j < receiversRaw.length; j++) {
if (receiversRaw[i].accountId > receiversRaw[j].accountId) {
Expand Down
2 changes: 1 addition & 1 deletion test/Streams.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1604,7 +1604,7 @@ contract StreamsTest is Test, PseudoRandomUtils, Streams {
return bound(streamingTimeRaw, 0, _cycleSecs * maxCycles);
}

function sanitizeStreamsBalance(uint256 balanceRaw) internal view returns (uint128 balance) {
function sanitizeStreamsBalance(uint256 balanceRaw) internal pure returns (uint128 balance) {
return uint128(bound(balanceRaw, 0, _MAX_STREAMS_BALANCE));
}

Expand Down

0 comments on commit b9be7ae

Please sign in to comment.