Skip to content

Commit

Permalink
refactor: inline variable declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
Zer0dot committed Aug 22, 2024
1 parent 6faa4b6 commit df43ba7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/account/UpgradeableModularAccount.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit df43ba7

Please sign in to comment.