From a0623c7d73d7ba6be3ccb93e6c65a21425f989f4 Mon Sep 17 00:00:00 2001 From: 0xdavinchee <0xdavinchee@gmail.com> Date: Wed, 13 Mar 2024 13:03:42 +0200 Subject: [PATCH] fix test --- ...-07-pool-member-total-amount-received.test.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/subgraph/tests/bugs/2024-03-07-pool-member-total-amount-received.test.ts b/packages/subgraph/tests/bugs/2024-03-07-pool-member-total-amount-received.test.ts index 4c9160e236..4d882de2a4 100644 --- a/packages/subgraph/tests/bugs/2024-03-07-pool-member-total-amount-received.test.ts +++ b/packages/subgraph/tests/bugs/2024-03-07-pool-member-total-amount-received.test.ts @@ -54,8 +54,8 @@ describe("PoolMember ending up with wrong `totalAmountReceivedUntilUpdatedAt`", poolAddress.toHexString(), poolAdminAndDistributorAddress.toHexString(), echo, - BigInt.fromI32(100), // requested amount - BigInt.fromI32(100), // actual amount + BigInt.fromI32(1000), // requested amount + BigInt.fromI32(1000), // actual amount Bytes.fromHexString("0x") ); firstDistributionEvent.block.timestamp = poolCreatedEvent.block.timestamp; @@ -68,7 +68,7 @@ describe("PoolMember ending up with wrong `totalAmountReceivedUntilUpdatedAt`", "Pool", poolAddress.toHexString(), "totalAmountDistributedUntilUpdatedAt", - "100" + "1000" ); assert.fieldEquals( "Pool", @@ -118,8 +118,8 @@ describe("PoolMember ending up with wrong `totalAmountReceivedUntilUpdatedAt`", poolAddress.toHexString(), poolAdminAndDistributorAddress.toHexString(), echo, - BigInt.fromI32(100), // requested amount - BigInt.fromI32(100), // actual amount + BigInt.fromI32(1000), // requested amount + BigInt.fromI32(1000), // actual amount Bytes.fromHexString("0x") ); secondDistributionEvent.block.timestamp = poolCreatedEvent.block.timestamp; @@ -132,7 +132,7 @@ describe("PoolMember ending up with wrong `totalAmountReceivedUntilUpdatedAt`", "Pool", poolAddress.toHexString(), "totalAmountDistributedUntilUpdatedAt", - "200" + "2000" ); assert.fieldEquals( "Pool", @@ -173,7 +173,7 @@ describe("PoolMember ending up with wrong `totalAmountReceivedUntilUpdatedAt`", "PoolMember", bobId, "totalAmountReceivedUntilUpdatedAt", - "50" + "500" ); assert.fieldEquals( "PoolMember", @@ -200,7 +200,7 @@ describe("PoolMember ending up with wrong `totalAmountReceivedUntilUpdatedAt`", "PoolMember", aliceId, "totalAmountReceivedUntilUpdatedAt", - "150" + "1500" ); assert.fieldEquals( "PoolMember",