Skip to content

Commit

Permalink
Update test/metatx/ERC2771Context.test.js
Browse files Browse the repository at this point in the history
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
  • Loading branch information
ernestognw and Amxx authored Jul 25, 2023
1 parent fb35cf6 commit 1d035e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/metatx/ERC2771Context.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ contract('ERC2771Context', function (accounts) {
// The forwarder doesn't produce calls with calldata length less than 20 bytes
const recipient = await ERC2771ContextMock.new(anotherAccount);

const { tx } = await recipient.msgSender({ from: anotherAccount });
const { receipt } = await recipient.msgSender({ from: anotherAccount });

await expectEvent.inTransaction(tx, ERC2771ContextMock, 'Sender', { sender: anotherAccount });
await expectEvent(receipt, 'Sender', { sender: anotherAccount });
});
});

Expand Down

0 comments on commit 1d035e2

Please sign in to comment.