@@ -23,8 +23,9 @@ contract CowWrapperTest is Test {
2323 // Deploy mock contracts
2424 authenticator = new MockCowAuthentication ();
2525 mockSettlement = new MockCowSettlement (address (authenticator));
26- helpers =
27- new CowWrapperHelpers (ICowAuthentication (address (authenticator)), ICowAuthentication (address (authenticator)));
26+ helpers = new CowWrapperHelpers (
27+ ICowAuthentication (address (authenticator)), ICowAuthentication (address (authenticator))
28+ );
2829
2930 solver = makeAddr ("solver " );
3031 // Add solver to the authenticator
@@ -42,7 +43,12 @@ contract CowWrapperTest is Test {
4243 }
4344
4445 function _emptyInteractions () private pure returns (ICowSettlement.Interaction[][3 ] memory ) {
45- return [new ICowSettlement.Interaction [](0 ), new ICowSettlement.Interaction [](0 ), new ICowSettlement.Interaction [](0 )];
46+ return
47+ [
48+ new ICowSettlement.Interaction [](0 ),
49+ new ICowSettlement.Interaction [](0 ),
50+ new ICowSettlement.Interaction [](0 )
51+ ];
4652 }
4753
4854 function _createSimpleSettleData (uint256 tokenCount ) private returns (bytes memory ) {
@@ -120,7 +126,8 @@ contract CowWrapperTest is Test {
120126 signature: hex "aabbccddee "
121127 });
122128
123- bytes memory settleData = abi.encodeCall (ICowSettlement.settle, (tokens, clearingPrices, trades, _emptyInteractions ()));
129+ bytes memory settleData =
130+ abi.encodeCall (ICowSettlement.settle, (tokens, clearingPrices, trades, _emptyInteractions ()));
124131
125132 // Build the chained wrapper data:
126133 // solver -> wrapper1 -> wrapper2 -> wrapper1 -> wrapper3 -> mockSettlement
0 commit comments