Add support for new parameters of vm.ExpectRevert
cheatcode
#834
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
Foundry introduced this new variations of expectRevert which are failing in zksync when doing nested calls.
vm.expectRevert(address reverter)
vm.expectRevert(bytes4 revertData, address reverter)
vm.expectRevert(bytes calldata revertData, address reverter)
Test
Additional context
No response
The text was updated successfully, but these errors were encountered: