Skip to content

Commit

Permalink
fix: pad entry string in l1 to l2 tests (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 authored Jun 9, 2023
1 parent a0683ff commit 71b2690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yarn-project/end-to-end/src/e2e_cross_chain_messaging.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ describe('e2e_cross_chain_messaging', () => {
content.toBuffer(),
]),
);
expect(await outbox.read.contains([entryKey.toString()])).toBeFalsy();
expect(await outbox.read.contains([entryKey.toString(true)])).toBeFalsy();

logger('Send L2 tx to withdraw funds');
const withdrawTx = l2Contract.methods.withdraw(withdrawAmount, ownerPub, ethAccount).send({ from: ownerAddress });
Expand All @@ -183,7 +183,7 @@ describe('e2e_cross_chain_messaging', () => {
ethAccount.toString(),
]);

expect(withdrawEntryKey).toBe(entryKey.toString());
expect(withdrawEntryKey).toBe(entryKey.toString(true));

expect(await outbox.read.contains([withdrawEntryKey])).toBeTruthy();

Expand Down

0 comments on commit 71b2690

Please sign in to comment.