From 9ff5137ee32a5ea02bbc30608a4746340321f240 Mon Sep 17 00:00:00 2001 From: dianakocsis Date: Fri, 20 Sep 2024 12:02:47 -0400 Subject: [PATCH] format --- script/DeployPositionDescriptor.s.sol | 6 +----- test/position-managers/PositionManager.t.sol | 3 ++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/script/DeployPositionDescriptor.s.sol b/script/DeployPositionDescriptor.s.sol index 42c35100..9d13b39c 100644 --- a/script/DeployPositionDescriptor.s.sol +++ b/script/DeployPositionDescriptor.s.sol @@ -16,11 +16,7 @@ contract DeployPositionDescriptorTest is Script { { vm.startBroadcast(); - positionDescriptor = new PositionDescriptor( - IPoolManager(poolManager), - weth, - nativeCurrencyLabel - ); + positionDescriptor = new PositionDescriptor(IPoolManager(poolManager), weth, nativeCurrencyLabel); console2.log("PositionDescriptor", address(positionDescriptor)); vm.stopBroadcast(); diff --git a/test/position-managers/PositionManager.t.sol b/test/position-managers/PositionManager.t.sol index 2804468d..5762768b 100644 --- a/test/position-managers/PositionManager.t.sol +++ b/test/position-managers/PositionManager.t.sol @@ -95,7 +95,8 @@ contract PositionManagerTest is Test, PosmTestSetup, LiquidityFuzzers { (key, poolId) = initPool(currency0, currency1, IHooks(address(0)), 3000, SQRT_PRICE_1_1, ZERO_BYTES); // Try to add liquidity at that range, but the token reenters posm - PositionConfig memory config = PositionConfig({poolKey: key, tickLower: -int24(key.tickSpacing), tickUpper: int24(key.tickSpacing)}); + PositionConfig memory config = + PositionConfig({poolKey: key, tickLower: -int24(key.tickSpacing), tickUpper: int24(key.tickSpacing)}); bytes memory calls = getMintEncoded(config, 1e18, ActionConstants.MSG_SENDER, ""); // Permit2.transferFrom does not bubble the ContractLocked error and instead reverts with its own error