@@ -46,9 +46,7 @@ contract BatchCallAndSponsorTest is Test {
4646
4747 // Token transfer
4848 calls[1 ] = BatchCallAndSponsor.Call ({
49- to: address (token),
50- value: 0 ,
51- data: abi.encodeCall (ERC20 .transfer, (BOB_ADDRESS, 100e18 ))
49+ to: address (token), value: 0 , data: abi.encodeCall (ERC20 .transfer, (BOB_ADDRESS, 100e18 ))
5250 });
5351
5452 vm.signAndAttachDelegation (address (implementation), ALICE_PK);
@@ -113,9 +111,7 @@ contract BatchCallAndSponsorTest is Test {
113111 console2.log ("Test wrong signature: Execution should revert with 'Invalid signature'. " );
114112 BatchCallAndSponsor.Call[] memory calls = new BatchCallAndSponsor.Call [](1 );
115113 calls[0 ] = BatchCallAndSponsor.Call ({
116- to: address (token),
117- value: 0 ,
118- data: abi.encodeCall (MockERC20.mint, (BOB_ADDRESS, 50 ))
114+ to: address (token), value: 0 , data: abi.encodeCall (MockERC20.mint, (BOB_ADDRESS, 50 ))
119115 });
120116
121117 // Build the encoded call data.
@@ -145,9 +141,7 @@ contract BatchCallAndSponsorTest is Test {
145141 console2.log ("Test replay attack: Reusing the same signature should revert. " );
146142 BatchCallAndSponsor.Call[] memory calls = new BatchCallAndSponsor.Call [](1 );
147143 calls[0 ] = BatchCallAndSponsor.Call ({
148- to: address (token),
149- value: 0 ,
150- data: abi.encodeCall (MockERC20.mint, (BOB_ADDRESS, 30 ))
144+ to: address (token), value: 0 , data: abi.encodeCall (MockERC20.mint, (BOB_ADDRESS, 30 ))
151145 });
152146
153147 // Build encoded call data.
0 commit comments