Skip to content

Commit

Permalink
Make addLiquidityPartialBoosted integration test more thorough
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoguerios committed Nov 20, 2024
1 parent c53aa78 commit 821dcd7
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ describe('V3 add liquidity partial boosted', () => {

beforeAll(async () => {
// setup chain and test client
({ rpcUrl } = await startFork(ANVIL_NETWORKS.SEPOLIA));
({ rpcUrl } = await startFork(
ANVIL_NETWORKS.SEPOLIA,
undefined,
7010800n,
));

client = createTestClient({
mode: 'anvil',
Expand Down Expand Up @@ -199,7 +203,10 @@ describe('V3 add liquidity partial boosted', () => {
expect(queryOutput.protocolVersion).toEqual(3);
expect(queryOutput.bptOut.token).to.deep.eq(parentBptToken);
expect(queryOutput.bptOut.amount > 0n).to.be.true;
expect(queryOutput.amountsIn[0]).to.deep.eq(referenceTokenAmount);
expect(queryOutput.amountsIn.map((a) => a.amount)).to.deep.eq([
1000000n,
1256754429559706426n,
]);
});

test('add liquidity transaction', async () => {
Expand Down

0 comments on commit 821dcd7

Please sign in to comment.