Skip to content

Commit

Permalink
farming tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fourlen committed Jun 7, 2024
1 parent 78d47e2 commit a20a9fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/farming/test/unit/EternalFarms.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1898,7 +1898,7 @@ describe('unit/EternalFarms', () => {

await erc20Helper.ensureBalancesAndApprovals(lpUser0, [token0, token1], amountDesired, await context.nft.getAddress());

await context.nft.createAndInitializePoolIfNecessary(token0, token1, encodePriceSqrt(1, 1));
await context.nft.createAndInitializePoolIfNecessary(token0, token1, ZERO_ADDRESS, encodePriceSqrt(1, 1));

const poolAddress = await context.factory.poolByPair(token0, token1);

Expand Down Expand Up @@ -1958,6 +1958,7 @@ describe('unit/EternalFarms', () => {
const swapData = {
tokenIn: tokenReentrant,
tokenOut: context.token1,
deployer: ZERO_ADDRESS,
amountIn: 10,
amountOutMinimum: 0,
recipient: lpUser0.address,
Expand Down

0 comments on commit a20a9fe

Please sign in to comment.