Skip to content

Commit

Permalink
address comparison test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timolegros authored and ilijabojanovic committed Oct 1, 2024
1 parent 2dcc9ea commit e196a9b
Showing 1 changed file with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,12 @@ describe('EVM Chain Events Log Processing Tests', () => {
(e) => e.eventSource.kind === 'Trade',
);
expect(communityStakeBuyEvent).toBeTruthy();
expect(communityStakeBuyEvent!.rawLog.address).to.equal(
communityStakeAddress,
);
expect(
equalEvmAddresses(
communityStakeBuyEvent!.rawLog.address,
communityStakeAddress,
),
).toBeTruthy();

result = await getEvents(
evmSource,
Expand All @@ -292,9 +295,12 @@ describe('EVM Chain Events Log Processing Tests', () => {
(e) => e.eventSource.kind === 'Trade',
);
expect(communityStakeSellEvent).toBeTruthy();
expect(communityStakeSellEvent!.rawLog.address).to.equal(
communityStakeAddress,
);
expect(
equalEvmAddresses(
communityStakeSellEvent!.rawLog.address,
communityStakeAddress,
),
).toBeTruthy();
});
});
});

0 comments on commit e196a9b

Please sign in to comment.