Skip to content

Commit dd7e843

Browse files
committed
remove dead function
1 parent 7abb85d commit dd7e843

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

test/EulerSwapHook.fees.t.sol

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,4 @@ contract EulerSwapHookTest is EulerSwapTestBase {
119119

120120
assertGt(getHolderNAV(), origNav + int256(amountIn - amountInWithoutFee));
121121
}
122-
123-
function _swap(PoolKey memory key, bool zeroForOne, bool exactInput, uint256 amount) internal {
124-
IPoolManager.SwapParams memory swapParams = IPoolManager.SwapParams({
125-
zeroForOne: zeroForOne,
126-
amountSpecified: exactInput ? -int256(amount) : int256(amount),
127-
sqrtPriceLimitX96: zeroForOne ? TickMath.MIN_SQRT_PRICE + 1 : TickMath.MAX_SQRT_PRICE - 1
128-
});
129-
swapRouter.swap(key, swapParams, settings, "");
130-
}
131122
}

0 commit comments

Comments
 (0)