@@ -48,11 +48,7 @@ contract MockExecutor is Executor {
4848 }
4949
5050 // NOTE: This was copied from the tests in the executor repo.
51- function encodeSignedQuoteHeader (Executor.SignedQuoteHeader memory signedQuote )
52- public
53- pure
54- returns (bytes memory )
55- {
51+ function encodeSignedQuoteHeader (Executor.SignedQuoteHeader memory signedQuote ) public pure returns (bytes memory ) {
5652 return abi.encodePacked (
5753 signedQuote.prefix,
5854 signedQuote.quoterAddress,
@@ -118,7 +114,12 @@ contract MockTransceiver is Transceiver {
118114 function _quoteDeliveryPrice (
119115 uint16 , /* recipientChain */
120116 TransceiverStructs.TransceiverInstruction memory /* transceiverInstruction */
121- ) internal pure override returns (uint256 ) {
117+ )
118+ internal
119+ pure
120+ override
121+ returns (uint256 )
122+ {
122123 return 0 ;
123124 }
124125
@@ -217,9 +218,9 @@ contract TestNttManagerWithExecutor is Test {
217218 vm.startPrank (user_A);
218219 token.approve (address (nttManager), 3 * 10 ** decimals);
219220
220- uint64 s1 = nttManager.transfer {value: 10000 }(
221- 1 * 10 ** decimals, chainId2, toWormholeFormat (user_B), toWormholeFormat (user_A), false , new bytes ( 1 )
222- );
221+ uint64 s1 = nttManager.transfer {
222+ value: 10000
223+ }( 1 * 10 ** decimals, chainId2, toWormholeFormat (user_B), toWormholeFormat (user_A), false , new bytes ( 1 ) );
223224
224225 assertEq (s1, 0 );
225226 }
@@ -248,7 +249,9 @@ contract TestNttManagerWithExecutor is Test {
248249
249250 ExecutorArgs memory executorArgs = executor.createArgs (chainId2, 100 );
250251 FeeArgs memory feeArgs = FeeArgs ({dbps: dbps, payee: referrer});
251- uint64 s1 = nttManagerWithExecutor.transfer {value: 10000 }(
252+ uint64 s1 = nttManagerWithExecutor.transfer {
253+ value: 10000
254+ }(
252255 address (nttManager),
253256 amount,
254257 chainId2,
@@ -286,7 +289,9 @@ contract TestNttManagerWithExecutor is Test {
286289
287290 ExecutorArgs memory executorArgs = executor.createArgs (chainId2, 100 );
288291 FeeArgs memory feeArgs = FeeArgs ({dbps: 1 , payee: referrer});
289- uint64 s1 = nttManagerWithExecutor.transfer {value: 10000 }(
292+ uint64 s1 = nttManagerWithExecutor.transfer {
293+ value: 10000
294+ }(
290295 address (nttManagerNoRateLimiting),
291296 amount,
292297 chainId2,
0 commit comments