File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,6 @@ contract SingleSignerFactoryFixture is OptimizedTest {
4040 self = address (this );
4141 }
4242
43- // TODO: Make createAccount use createAccountFallbackSigner for testing
44-
4543 /**
4644 * create an account, and return its address.
4745 * returns the address even if the account is already deployed.
@@ -50,6 +48,8 @@ contract SingleSignerFactoryFixture is OptimizedTest {
5048 * account creation
5149 */
5250 function createAccount (address owner , uint256 salt ) public returns (UpgradeableModularAccount) {
51+ // We cast the SemiModularAccount to an UpgradeableModularAccount to facilitate equivalence testing.
52+ // However, we don't do this in the actual factory.
5353 if (vm.envBool ("SMA_TEST " )) {
5454 return createSemiModularAccount (owner, salt);
5555 }
You can’t perform that action at this time.
0 commit comments