Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kingster-will committed Feb 17, 2024
1 parent cf114b1 commit 5eddbae
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
5 changes: 1 addition & 4 deletions test/foundry/AccessController.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ contract AccessControllerTest is Test {
governance = new Governance(address(this));
accessController = new AccessController(address(governance));
implementation = new IPAccountImpl(address(accessController));
ipAccountRegistry = new IPAccountRegistry(
address(erc6551Registry),
address(implementation)
);
ipAccountRegistry = new IPAccountRegistry(address(erc6551Registry), address(implementation));
moduleRegistry = new ModuleRegistry(address(governance));
accessController.initialize(address(ipAccountRegistry), address(moduleRegistry));
nft.mintId(owner, tokenId);
Expand Down
5 changes: 1 addition & 4 deletions test/foundry/access/AccessControlled.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@ contract AccessControlledTest is Test {
governance = new Governance(address(this));
accessController = new AccessController(address(governance));
implementation = new IPAccountImpl(address(accessController));
ipAccountRegistry = new IPAccountRegistry(
address(erc6551Registry),
address(implementation)
);
ipAccountRegistry = new IPAccountRegistry(address(erc6551Registry), address(implementation));
moduleRegistry = new ModuleRegistry(address(governance));
accessController.initialize(address(ipAccountRegistry), address(moduleRegistry));
nft.mintId(owner, tokenId);
Expand Down
5 changes: 1 addition & 4 deletions test/foundry/governance/Governance.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ contract GovernanceTest is Test {
governance = new Governance(address(this));
accessController = new AccessController(address(governance));
implementation = new IPAccountImpl(address(accessController));
ipAccountRegistry = new IPAccountRegistry(
address(erc6551Registry),
address(implementation)
);
ipAccountRegistry = new IPAccountRegistry(address(erc6551Registry), address(implementation));
moduleRegistry = new ModuleRegistry(address(governance));
accessController.initialize(address(ipAccountRegistry), address(moduleRegistry));
nft.mintId(owner, tokenId);
Expand Down
5 changes: 1 addition & 4 deletions test/foundry/utils/DeployHelper.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,7 @@ contract DeployHelper {
}

// TODO: Allow using mock IPAccountRegistry, instead of forcing deployment of actual IPAccountRegistry.
ipAccountRegistry = new IPAccountRegistry(
address(erc6551Registry),
address(ipAccountImpl)
);
ipAccountRegistry = new IPAccountRegistry(address(erc6551Registry), address(ipAccountImpl));
console2.log("DeployHelper: Using REAL IPAccountRegistry");

// TODO: Allow using mock IPAssetRegistry, instead of forcing deployment of actual IPAssetRegistry.
Expand Down

0 comments on commit 5eddbae

Please sign in to comment.