Skip to content

Commit

Permalink
Fix bug: Transfer event exists on ERC20, not on ERC20FeeProxy.
Browse files Browse the repository at this point in the history
  • Loading branch information
MantisClone committed Sep 5, 2023
1 parent 7d184d4 commit 242da57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/smart-contracts/test/contracts/ERC20FeeProxy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ describe('contract: ERC20FeeProxy', () => {
'0',
zeroFeeAddress,
)
.and.to.emit(erc20FeeProxy, 'Transfer')
.and.to.emit(testERC20, 'Transfer')
.withArgs(from, to, '100')
.and.to.not.emit(erc20FeeProxy, 'Transfer')
.and.to.not.emit(testERC20, 'Transfer')
.withArgs(from, zeroFeeAddress, '0');

const fromNewBalance = await testERC20.balanceOf(from);
Expand Down

0 comments on commit 242da57

Please sign in to comment.