From 337610f197bfca6b2caf1cd6136cc4aec78f6978 Mon Sep 17 00:00:00 2001 From: none00y Date: Wed, 9 Oct 2024 15:31:53 +0200 Subject: [PATCH] fix simulate swap test --- test/sdk/e2e/simulate-invariant-swap.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/sdk/e2e/simulate-invariant-swap.test.ts b/test/sdk/e2e/simulate-invariant-swap.test.ts index 4d866ac..0ef2503 100644 --- a/test/sdk/e2e/simulate-invariant-swap.test.ts +++ b/test/sdk/e2e/simulate-invariant-swap.test.ts @@ -659,7 +659,7 @@ describe('simulateInvariantSwap tests', () => { }) it('max ticks crossed', async function () { const sqrtPriceLimit = getMinSqrtPrice(feeTier.tickSpacing) - const amountIn = 1000000n as TokenAmount + const amountIn = 3000000n as TokenAmount const byAmountIn = true const xToY = true @@ -672,7 +672,7 @@ describe('simulateInvariantSwap tests', () => { const indexes: bigint[] = [] - for (let i = -12n; i < 5; i += 1n) { + for (let i = -40n; i < 5; i += 1n) { indexes.push(i + 1n) await invariant.createPosition( deployer,