Support new parameters of vm.expectEmit
cheatcode
#833
Labels
cheatcode 🎮
Issue with a cheat code against zksync
feature ➕
Feature item
Internal ⚙️
p2 🟡
Indicates moderately high priority item
upstream-parity 🟰
Needed for upstream feature parity
Component
Forge
Describe the feature you would like
We already support expectEmit but now Foundry introduced new parameters like the count to assert over the emits.
vm.expectEmit(bool checkTopic1, bool checkTopic2, bool checkTopic3, bool checkData, uint64 count)
vm.expectEmit(bool checkTopic1, bool checkTopic2, bool checkTopic3, bool checkData, address emitter, uint64 count)
vm.expectEmit(uint64 count)
Test
Additional context
No response
The text was updated successfully, but these errors were encountered: