Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Oct 30, 2024
1 parent 3335fea commit 240faf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('e2e_cross_chain_messaging token_bridge_failure_cases', () => {
.withWallet(user2Wallet)
.methods.claim_private(claim.claimSecretHash, bridgeAmount, claim.claimSecret, claim.messageLeafIndex)
.prove(),
).rejects.toThrow(`No non-nullified L1 to L2 message found for message hash ${wrongMessage.hash().toString()}`);
).rejects.toThrow(`No L1 to L2 message found for message hash ${wrongMessage.hash().toString()}`);
}, 60_000);

it("Can't claim funds publicly which were intended for private deposit from the token portal", async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ describe('e2e_cross_chain_messaging token_bridge_private', () => {
.withWallet(user2Wallet)
.methods.claim_private(claim.claimSecretHash, bridgeAmount, claim.claimSecret, claim.messageLeafIndex)
.prove(),
).rejects.toThrow(`No non-nullified L1 to L2 message found for message hash ${wrongMessage.hash().toString()}`);
).rejects.toThrow(`No L1 to L2 message found for message hash ${wrongMessage.hash().toString()}`);

// send the right one -
const consumptionReceipt = await l2Bridge
Expand Down

0 comments on commit 240faf8

Please sign in to comment.