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 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/.forge-snapshots/swap.snap b/.forge-snapshots/swap.snap index f94c0ab99..c49ac7dd1 100644 --- a/.forge-snapshots/swap.snap +++ b/.forge-snapshots/swap.snap @@ -1 +1 @@ -67335 \ No newline at end of file +67310 \ 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(); }