From df43ba75580eb7403bb9fd553d74f5c6463f6d05 Mon Sep 17 00:00:00 2001 From: zer0dot Date: Thu, 22 Aug 2024 17:38:39 -0400 Subject: [PATCH] refactor: inline variable declarations --- test/account/UpgradeableModularAccount.t.sol | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/account/UpgradeableModularAccount.t.sol b/test/account/UpgradeableModularAccount.t.sol index 205bdd4e..c0713dca 100644 --- a/test/account/UpgradeableModularAccount.t.sol +++ b/test/account/UpgradeableModularAccount.t.sol @@ -406,11 +406,7 @@ contract UpgradeableModularAccountTest is AccountTestBase { ? SemiModularAccount(payable(account1)).replaySafeHash(message) : singleSignerValidationModule.replaySafeHash(address(account1), message); - uint8 v; - bytes32 r; - bytes32 s; - - (v, r, s) = vm.sign(owner1Key, replaySafeHash); + (uint8 v, bytes32 r, bytes32 s) = vm.sign(owner1Key, replaySafeHash); bytes memory signature = _encode1271Signature(_signerValidation, abi.encodePacked(r, s, v));