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