Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Zer0dot committed Aug 15, 2024
1 parent ba63f8d commit 8c18e0b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions test/account/UpgradeableModularAccount.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ contract UpgradeableModularAccountTest is AccountTestBase {
(
address(singleSignerValidationModule),
0,
abi.encodeCall(SingleSignerValidationModule.transferSigner, (TEST_DEFAULT_VALIDATION_ENTITY_ID, owner2))
abi.encodeCall(
SingleSignerValidationModule.transferSigner, (TEST_DEFAULT_VALIDATION_ENTITY_ID, owner2)
)
)
);

Expand Down Expand Up @@ -365,10 +367,13 @@ contract UpgradeableModularAccountTest is AccountTestBase {
// Note: replaced "owner1" with address(0), this doesn't actually affect the account, but allows the
// test to pass by ensuring the signer can be set in the validation.
assertEq(
singleSignerValidationModule.signers(TEST_DEFAULT_VALIDATION_ENTITY_ID, address(account1)), address(0)
singleSignerValidationModule.signers(TEST_DEFAULT_VALIDATION_ENTITY_ID, address(account1)),
address(0)
);
} else {
assertEq(singleSignerValidationModule.signers(TEST_DEFAULT_VALIDATION_ENTITY_ID, address(account1)), owner1);
assertEq(
singleSignerValidationModule.signers(TEST_DEFAULT_VALIDATION_ENTITY_ID, address(account1)), owner1
);
}

vm.prank(address(entryPoint));
Expand Down

0 comments on commit 8c18e0b

Please sign in to comment.