Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zielvna committed Apr 10, 2024
1 parent 80bbab9 commit 57daf5f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/clamm.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,8 @@ describe('math tests', () => {
const almostMinSqrtPrice = minSqrtPrice + 1n

beforeEach(async () => {
clamm = (await deployCLAMM(sender)).contractInstance
const uints = await deployUints(sender)
clamm = (await deployCLAMM(sender, uints.contractInstance.contractId)).contractInstance
})

test('max result, increase sqrt_price case', async () => {
Expand Down Expand Up @@ -1419,7 +1420,8 @@ describe('math tests', () => {
const almostMinSqrtPrice = minSqrtPrice + 1n

beforeEach(async () => {
clamm = (await deployCLAMM(sender)).contractInstance
const uints = await deployUints(sender)
clamm = (await deployCLAMM(sender, uints.contractInstance.contractId)).contractInstance
})

test('max result, increase sqrt_price case', async () => {
Expand Down

0 comments on commit 57daf5f

Please sign in to comment.