diff --git a/.forge-snapshots/mint with native token.snap b/.forge-snapshots/mint with native token.snap index c89578850..e709e0b13 100644 --- a/.forge-snapshots/mint with native token.snap +++ b/.forge-snapshots/mint with native token.snap @@ -1 +1 @@ -293959 \ No newline at end of file +293882 \ No newline at end of file diff --git a/.forge-snapshots/simple swap.snap b/.forge-snapshots/simple swap.snap new file mode 100644 index 000000000..f94c0ab99 --- /dev/null +++ b/.forge-snapshots/simple swap.snap @@ -0,0 +1 @@ +67335 \ No newline at end of file diff --git a/.forge-snapshots/swap against liquidity with native token.snap b/.forge-snapshots/swap against liquidity with native token.snap index 01e89c71a..4fa314f3d 100644 --- a/.forge-snapshots/swap against liquidity with native token.snap +++ b/.forge-snapshots/swap against liquidity with native token.snap @@ -1 +1 @@ -161293 \ No newline at end of file +161216 \ No newline at end of file diff --git a/.forge-snapshots/swap with hooks.snap b/.forge-snapshots/swap with hooks.snap new file mode 100644 index 000000000..c49ac7dd1 --- /dev/null +++ b/.forge-snapshots/swap with hooks.snap @@ -0,0 +1 @@ +67310 \ No newline at end of file diff --git a/.forge-snapshots/swap with native.snap b/.forge-snapshots/swap with native.snap new file mode 100644 index 000000000..f94c0ab99 --- /dev/null +++ b/.forge-snapshots/swap with native.snap @@ -0,0 +1 @@ +67335 \ No newline at end of file diff --git a/test/foundry-tests/PoolManager.t.sol b/test/foundry-tests/PoolManager.t.sol index 1a12627dd..3c730e8e6 100644 --- a/test/foundry-tests/PoolManager.t.sol +++ b/test/foundry-tests/PoolManager.t.sol @@ -805,7 +805,7 @@ contract PoolManagerTest is Test, Deployers, TokenFixture, GasSnapshot, IERC1155 params = IPoolManager.SwapParams({zeroForOne: true, amountSpecified: 100, sqrtPriceLimitX96: SQRT_RATIO_1_4}); testSettings = PoolSwapTest.TestSettings({withdrawTokens: false, settleUsingTransfer: false}); - snapStart("swap"); + snapStart("simple swap"); swapTest.swap(key, params, testSettings); snapEnd(); } @@ -831,7 +831,7 @@ contract PoolManagerTest is Test, Deployers, TokenFixture, GasSnapshot, IERC1155 params = IPoolManager.SwapParams({zeroForOne: true, amountSpecified: 100, sqrtPriceLimitX96: SQRT_RATIO_1_4}); testSettings = PoolSwapTest.TestSettings({withdrawTokens: false, settleUsingTransfer: false}); - snapStart("swap"); + snapStart("swap with native"); swapTest.swap(key, params, testSettings); snapEnd(); } @@ -863,7 +863,7 @@ contract PoolManagerTest is Test, Deployers, TokenFixture, GasSnapshot, IERC1155 params = IPoolManager.SwapParams({zeroForOne: true, amountSpecified: 100, sqrtPriceLimitX96: SQRT_RATIO_1_4}); testSettings = PoolSwapTest.TestSettings({withdrawTokens: true, settleUsingTransfer: true}); - snapStart("swap"); + snapStart("swap with hooks"); swapTest.swap(key, params, testSettings); snapEnd(); }