@@ -36,8 +36,7 @@ contract DefaultHighRateAccountTest is AccountConfigurationTest {
3636
3737 IAccountConfiguration.Owner[] memory owners = new IAccountConfiguration.Owner [](1 );
3838 owners[0 ] = IAccountConfiguration.Owner ({
39- ownerId: ownerId,
40- config: IAccountConfiguration.OwnerConfig ({verifier: address (k1Verifier), scopes: 0x00 })
39+ ownerId: ownerId, config: IAccountConfiguration.OwnerConfig ({verifier: address (k1Verifier), scopes: 0x00 })
4140 });
4241
4342 bytes memory bytecode = _computeERC1167Bytecode (highRateImplementation);
@@ -60,9 +59,8 @@ contract DefaultHighRateAccountTest is AccountConfigurationTest {
6059 (address account ,) = _createHighRateK1Account (OWNER_PK);
6160
6261 vm.prank (account);
63- DefaultHighRateAccount (payable (account)).executeBatch (
64- _singleCall (address (target), 0 , abi.encodeCall (HighRateMockTarget.setValue, (42 )))
65- );
62+ DefaultHighRateAccount (payable (account))
63+ .executeBatch (_singleCall (address (target), 0 , abi.encodeCall (HighRateMockTarget.setValue, (42 ))));
6664
6765 assertEq (target.value (), 42 );
6866 }
@@ -72,9 +70,8 @@ contract DefaultHighRateAccountTest is AccountConfigurationTest {
7270 vm.deal (account, 1 ether);
7371
7472 vm.prank (account);
75- DefaultHighRateAccount (payable (account)).executeBatch (
76- _singleCall (address (target), 0.5 ether, abi.encodeCall (HighRateMockTarget.setValue, (1 )))
77- );
73+ DefaultHighRateAccount (payable (account))
74+ .executeBatch (_singleCall (address (target), 0.5 ether, abi.encodeCall (HighRateMockTarget.setValue, (1 ))));
7875
7976 assertEq (address (target).balance, 0.5 ether);
8077 }
@@ -99,19 +96,17 @@ contract DefaultHighRateAccountTest is AccountConfigurationTest {
9996
10097 vm.prank (address (0xdead ));
10198 vm.expectRevert ();
102- DefaultHighRateAccount (payable (account)).executeBatch (
103- _singleCall (address (target), 0 , abi.encodeCall (HighRateMockTarget.setValue, (1 )))
104- );
99+ DefaultHighRateAccount (payable (account))
100+ .executeBatch (_singleCall (address (target), 0 , abi.encodeCall (HighRateMockTarget.setValue, (1 ))));
105101 }
106102
107103 function test_executeBatch_revertsOnFailedCall () public {
108104 (address account ,) = _createHighRateK1Account (OWNER_PK);
109105
110106 vm.prank (account);
111107 vm.expectRevert ();
112- DefaultHighRateAccount (payable (account)).executeBatch (
113- _singleCall (address (target), 0 , abi.encodeCall (HighRateMockTarget.reverting, ()))
114- );
108+ DefaultHighRateAccount (payable (account))
109+ .executeBatch (_singleCall (address (target), 0 , abi.encodeCall (HighRateMockTarget.reverting, ())));
115110 }
116111
117112 function test_executeBatch_blocksETHWhenLocked () public {
@@ -122,9 +117,8 @@ contract DefaultHighRateAccountTest is AccountConfigurationTest {
122117
123118 vm.prank (account);
124119 vm.expectRevert ();
125- DefaultHighRateAccount (payable (account)).executeBatch (
126- _singleCall (address (target), 0.1 ether, abi.encodeCall (HighRateMockTarget.setValue, (1 )))
127- );
120+ DefaultHighRateAccount (payable (account))
121+ .executeBatch (_singleCall (address (target), 0.1 ether, abi.encodeCall (HighRateMockTarget.setValue, (1 ))));
128122 }
129123
130124 function test_executeBatch_allowsZeroValueCallsWhenLocked () public {
@@ -133,9 +127,8 @@ contract DefaultHighRateAccountTest is AccountConfigurationTest {
133127 _lockAccount (account, 1 hours);
134128
135129 vm.prank (account);
136- DefaultHighRateAccount (payable (account)).executeBatch (
137- _singleCall (address (target), 0 , abi.encodeCall (HighRateMockTarget.setValue, (99 )))
138- );
130+ DefaultHighRateAccount (payable (account))
131+ .executeBatch (_singleCall (address (target), 0 , abi.encodeCall (HighRateMockTarget.setValue, (99 ))));
139132
140133 assertEq (target.value (), 99 );
141134 }
@@ -145,9 +138,8 @@ contract DefaultHighRateAccountTest is AccountConfigurationTest {
145138 vm.deal (account, 1 ether);
146139
147140 vm.prank (account);
148- DefaultHighRateAccount (payable (account)).executeBatch (
149- _singleCall (address (target), 0.5 ether, abi.encodeCall (HighRateMockTarget.setValue, (1 )))
150- );
141+ DefaultHighRateAccount (payable (account))
142+ .executeBatch (_singleCall (address (target), 0.5 ether, abi.encodeCall (HighRateMockTarget.setValue, (1 ))));
151143
152144 assertEq (address (target).balance, 0.5 ether);
153145 }
0 commit comments