Skip to content

Commit 1e0402d

Browse files
committed
forge fmt
1 parent 59a0f83 commit 1e0402d

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

src/EulerSwapFactory.sol

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,7 @@ contract EulerSwapFactory is IEulerSwapFactory, EVCUtil, ProtocolFee {
6060

6161
uninstall(params.eulerAccount);
6262

63-
EulerSwap pool = EulerSwap(
64-
MetaProxyDeployer.deployMetaProxy(
65-
eulerSwapImpl, abi.encode(params), salt
66-
)
67-
);
63+
EulerSwap pool = EulerSwap(MetaProxyDeployer.deployMetaProxy(eulerSwapImpl, abi.encode(params), salt));
6864

6965
updateEulerAccountState(params.eulerAccount, address(pool));
7066

test/utils/HookMiner.sol

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,7 @@ library HookMiner {
4949
returns (address hookAddress)
5050
{
5151
return address(
52-
uint160(
53-
uint256(
54-
keccak256(
55-
abi.encodePacked(
56-
bytes1(0xFF), deployer, salt, keccak256(creationCode)
57-
)
58-
)
59-
)
60-
)
52+
uint160(uint256(keccak256(abi.encodePacked(bytes1(0xFF), deployer, salt, keccak256(creationCode)))))
6153
);
6254
}
6355
}

0 commit comments

Comments
 (0)