Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
eloi010 committed Dec 18, 2023
1 parent 29ee767 commit b9e652d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions test/foundry/core/managed/ManagedOpenfortAccountTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {console} from "lib/forge-std/src/Test.sol";
import {ECDSA} from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import {IERC5267} from "@openzeppelin/contracts/interfaces/IERC5267.sol";
import {IEntryPoint, UserOperation} from "account-abstraction/core/EntryPoint.sol";
import {TestCounter} from "account-abstraction/test/TestCounter.sol";
import {IBaseRecoverableAccount} from "contracts/interfaces/IBaseRecoverableAccount.sol";
import {ManagedOpenfortAccount} from "contracts/core/managed/ManagedOpenfortAccount.sol";
import {ManagedOpenfortFactory} from "contracts/core/managed/ManagedOpenfortFactory.sol";
Expand Down Expand Up @@ -39,7 +38,7 @@ contract ManagedOpenfortAccountTest is OpenfortBaseTest {
ManagedOpenfortDeploy managedOpenfortDeploy = new ManagedOpenfortDeploy();
(managedOpenfortAccountImpl, openfortFactory) = managedOpenfortDeploy.run();

// Create a managed account wallet and get its address
// Create a managed account and get its address
vm.prank(openfortAdmin);
accountAddress = openfortFactory.createAccountWithNonce(openfortAdmin, "1", true);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {IERC721Receiver} from "@openzeppelin/contracts/token/ERC721/IERC721Recei
import {IERC777Recipient} from "@openzeppelin/contracts/token/ERC777/IERC777Recipient.sol";
import {IERC1155Receiver} from "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol";
import {IEntryPoint, UserOperation} from "account-abstraction/core/EntryPoint.sol";
import {TestCounter} from "account-abstraction/test/TestCounter.sol";
import {IBaseRecoverableAccount} from "contracts/interfaces/IBaseRecoverableAccount.sol";
import {IUpgradeableOpenfortAccount} from "contracts/interfaces/IUpgradeableOpenfortAccount.sol";
import {OpenfortErrorsAndEvents} from "contracts/interfaces/OpenfortErrorsAndEvents.sol";
Expand Down Expand Up @@ -40,7 +39,7 @@ contract UpgradeableOpenfortAccountTest is OpenfortBaseTest {
UpgradeableOpenfortDeploy upgradeableOpenfortDeploy = new UpgradeableOpenfortDeploy();
(upgradeableOpenfortAccountImpl, openfortFactory) = upgradeableOpenfortDeploy.run();

// Create an upgradeable account wallet and get its address
// Create an upgradeable account and get its address
vm.prank(openfortAdmin);
accountAddress = openfortFactory.createAccountWithNonce(openfortAdmin, "1", true);
}
Expand Down

0 comments on commit b9e652d

Please sign in to comment.