You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing events, prefer setting all expectEmit arguments to true, i.e. vm.expectEmit(true, true, true, true).
My feature request is to add an expectEmit cheatcode that has no arguments. All of the topics (checkTopic1, checkTopic2, checkTopic3, and checkData) would be set to true by default.
The text was updated successfully, but these errors were encountered:
This idea has been discussed / gotten support in the foundry telegram a few times, so per foundry-rs/foundry#3782 I'd support adding that cheat directly into foundry if you wanted to open the issue/PR there
From the Foundry Book on best practices:
My feature request is to add an
expectEmit
cheatcode that has no arguments. All of the topics (checkTopic1
,checkTopic2
,checkTopic3
, andcheckData
) would be set totrue
by default.The text was updated successfully, but these errors were encountered: