Skip to content

Commit 7d00cbf

Browse files
committed
fix: Typo fix in tests
1 parent ac35887 commit 7d00cbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/rewards/rewards.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ describe('Rewards', () => {
611611
const receipt = await tx.wait()
612612
const event = rewardsManager.interface.parseLog(receipt.logs[1]).args
613613
expect(event.indexer).eq(indexer1.address)
614-
expect(event.allocationID1).eq(allocationID1)
614+
expect(event.allocationID).eq(allocationID1)
615615
expect(event.epoch).eq(await epochManager.currentEpoch())
616616
expect(toRound(event.amount)).eq(toRound(expectedIndexingRewards))
617617

@@ -670,7 +670,7 @@ describe('Rewards', () => {
670670
const receipt = await tx.wait()
671671
const event = rewardsManager.interface.parseLog(receipt.logs[1]).args
672672
expect(event.indexer).eq(indexer1.address)
673-
expect(event.allocationID1).eq(allocationID1)
673+
expect(event.allocationID).eq(allocationID1)
674674
expect(event.epoch).eq(await epochManager.currentEpoch())
675675
expect(toRound(event.amount)).eq(toRound(expectedIndexingRewards))
676676

0 commit comments

Comments
 (0)