Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cheatcodes): Make expectEmit only work for the next call #4920

Merged
merged 15 commits into from
May 12, 2023
Prev Previous commit
Next Next commit
chore: lint
  • Loading branch information
Evalir committed May 11, 2023
commit 28af854537b83b42c2ea083a3d204dcb177e0b20
1 change: 0 additions & 1 deletion testdata/fork/Transact.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ contract TransactOnForkTest is DSTest {
// expect a call to USDT's transfer
vm.expectCall(address(USDT), abi.encodeWithSelector(IERC20.transfer.selector, recipient, transferAmount));


// expect a Transfer event to be emitted
vm.expectEmit(true, true, false, true, address(USDT));
emit Transfer(address(sender), address(recipient), transferAmount);
Expand Down