Skip to content

Commit

Permalink
fix simulate swap test
Browse files Browse the repository at this point in the history
  • Loading branch information
none00y committed Oct 9, 2024
1 parent 253d376 commit 337610f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sdk/e2e/simulate-invariant-swap.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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,
Expand Down

0 comments on commit 337610f

Please sign in to comment.