Skip to content

Commit 1d921f9

Browse files
committed
forge fmt
1 parent a397c62 commit 1d921f9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/deployer/SafeGuard.sol

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ interface ISafeMinimal {
2727

2828
function approvedHashes(address owner, bytes32 txHash) external view returns (bool);
2929

30-
function getModulesPaginated(address start, uint256 pageSize) external view returns (address[] memory array, address next);
30+
function getModulesPaginated(address start, uint256 pageSize)
31+
external
32+
view
33+
returns (address[] memory array, address next);
3134

3235
// This function is not part of the interface at 0xfb1bffC9d739B8D520DaF37dF666da4C687191EA
3336
// . It's part of the implicit interface on the proxy contract(s) created by the factory at
@@ -246,7 +249,7 @@ contract ZeroExSettlerDeployerSafeGuard is IGuard {
246249
assert(!safe.isOwner(address(this)));
247250
assert(safe.getGuard() == address(this));
248251
{
249-
(address[] memory modules, ) = safe.getModulesPaginated(address(1), 1);
252+
(address[] memory modules,) = safe.getModulesPaginated(address(1), 1);
250253
assert(modules.length == 0);
251254
}
252255

@@ -459,7 +462,7 @@ contract ZeroExSettlerDeployerSafeGuard is IGuard {
459462
// consequently arbitrary modification of the state of the proxy (including
460463
// `SELFDESTRUCT`). Therefore, we prohibit the installation of modules.
461464
{
462-
(address[] memory modules, ) = _safe.getModulesPaginated(address(1), 1);
465+
(address[] memory modules,) = _safe.getModulesPaginated(address(1), 1);
463466
if (modules.length != 0) {
464467
revert ModuleInstalled(modules[0]);
465468
}

0 commit comments

Comments
 (0)