Skip to content

Commit

Permalink
remove console; forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
saucepoint committed Jan 15, 2025
1 parent f69488c commit 1f420d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion test/ModifyLiquidity.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {TickMath} from "src/libraries/TickMath.sol";
import {toBalanceDelta} from "src/types/BalanceDelta.sol";
import {Logger} from "./utils/Logger.sol";
import {PoolSwapTest} from "../src/test/PoolSwapTest.sol";
import "forge-std/console2.sol";

contract ModifyLiquidityTest is Test, Logger, Deployers, JavascriptFfi, Fuzzers {
using StateLibrary for IPoolManager;
Expand Down
4 changes: 2 additions & 2 deletions test/PoolManager.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ contract PoolManagerTest is Test, Deployers {
(, int24 currentTick,,) = manager.getSlot0(poolId);
assertEq(key.tickSpacing, 60);
assertEq(currentTick, 0);

// Add full range liquidity
LIQUIDITY_PARAMS.tickLower = TickMath.minUsableTick(key.tickSpacing);
LIQUIDITY_PARAMS.tickUpper = TickMath.maxUsableTick(key.tickSpacing);
Expand All @@ -1227,7 +1227,7 @@ contract PoolManagerTest is Test, Deployers {
// fuzz target tick 180 +/- 128
int24 targetTick = zeroForOne ? -int24(180) : int24(180);
targetTick += int24(tickOffset);

uint160 targetSqrtPrice = TickMath.getSqrtPriceAtTick(targetTick);
IPoolManager.SwapParams memory swapParams = IPoolManager.SwapParams({
zeroForOne: zeroForOne,
Expand Down

0 comments on commit 1f420d8

Please sign in to comment.