Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
dianakocsis committed Sep 20, 2024
1 parent 04b458e commit 9ff5137
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 1 addition & 5 deletions script/DeployPositionDescriptor.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 2 additions & 1 deletion test/position-managers/PositionManager.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9ff5137

Please sign in to comment.