Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
djviau committed Oct 23, 2023
1 parent a6afcd2 commit 3af9809
Show file tree
Hide file tree
Showing 10 changed files with 118 additions and 118 deletions.
60 changes: 30 additions & 30 deletions src/core/lib/ConsiderationDecoder.sol

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions src/sol/fulfillments/lib/FulfillmentLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -402,9 +402,9 @@ library FulfillmentGeneratorLib {
pure
returns (
function(FulfillmentItems memory, FulfillmentItems memory, uint256)
internal
pure
returns (Fulfillment memory)
internal
pure
returns (Fulfillment memory)
)
{
if (aggregationStrategy == AggregationStrategy.MAXIMUM) {
Expand Down Expand Up @@ -1124,9 +1124,9 @@ library FulfillmentGeneratorLib {
pure
returns (
function(FulfillmentItems[] memory, uint256)
internal
pure
returns (FulfillmentComponent[][] memory, ItemCategory[] memory)
internal
pure
returns (FulfillmentComponent[][] memory, ItemCategory[] memory)
)
{
if (aggregationStrategy == AggregationStrategy.MAXIMUM) {
Expand Down Expand Up @@ -1845,8 +1845,8 @@ library HashAllocatorLib {
group[i] = ItemReferenceGroupLib.ItemReferenceGroup({
fullHash: hashCount[i].hash,
references: new ItemReferenceLib.ItemReference[](
hashCount[i].count
),
hashCount[i].count
),
assigned: 0
});
}
Expand Down Expand Up @@ -1878,8 +1878,8 @@ library HashAllocatorLib {
.MatchableItemReferenceGroup({
dataHash: hashCount[i].hash,
offerGroups: new ItemReferenceGroupLib.ItemReferenceGroup[](
count
),
count
),
considerationGroups: (
new ItemReferenceGroupLib.ItemReferenceGroup[](count)
),
Expand Down
8 changes: 4 additions & 4 deletions src/sol/lib/ZoneParametersLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ library ZoneParametersLib {
fulfiller: zoneParametersStruct.fulfiller,
maximumFulfilled: zoneParametersStruct.maximumFulfilled,
orderDetails: new OrderDetails[](
zoneParametersStruct.advancedOrders.length
),
zoneParametersStruct.advancedOrders.length
),
orderHashes: new bytes32[](
zoneParametersStruct.advancedOrders.length
)
zoneParametersStruct.advancedOrders.length
)
});
}

Expand Down
18 changes: 9 additions & 9 deletions test/foundry/new/helpers/DebugUtil.sol
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,8 @@ function pureDumpContext()
pure
returns (
function(FuzzTestContext memory, ContextOutputSelection memory)
internal
pure
internal
pure
pureFn
)
{
Expand Down Expand Up @@ -452,13 +452,13 @@ library ExecutionFilterCast {
pure
returns (
function(
Execution[] memory,
function(Execution memory, ItemType)
internal
pure
returns (bool),
ItemType
) internal pure returns (Execution[] memory)
Execution[] memory,
function(Execution memory, ItemType)
internal
pure
returns (bool),
ItemType
) internal pure returns (Execution[] memory)
fnOut
)
{
Expand Down
24 changes: 12 additions & 12 deletions test/foundry/new/helpers/FuzzMutationHelpers.sol
Original file line number Diff line number Diff line change
Expand Up @@ -567,9 +567,9 @@ library MutationEligibilityLib {
pure
returns (
function(FuzzTestContext memory)
internal
view
returns (bool)
internal
view
returns (bool)
ineligibleMutationFilter
)
{
Expand All @@ -583,9 +583,9 @@ library MutationEligibilityLib {
pure
returns (
function(AdvancedOrder memory, uint256, FuzzTestContext memory)
internal
view
returns (bool)
internal
view
returns (bool)
ineligibleMutationFilter
)
{
Expand All @@ -599,9 +599,9 @@ library MutationEligibilityLib {
pure
returns (
function(CriteriaResolver memory, uint256, FuzzTestContext memory)
internal
view
returns (bool)
internal
view
returns (bool)
ineligibleMutationFilter
)
{
Expand Down Expand Up @@ -772,9 +772,9 @@ library FailureDetailsHelperLib {
pure
returns (
function(FuzzTestContext memory, MutationState memory, bytes4)
internal
view
returns (bytes memory)
internal
view
returns (bytes memory)
revertReasonGenerator
)
{
Expand Down
Loading

0 comments on commit 3af9809

Please sign in to comment.