rhinestonewtf / modulekit

Development Kit for building Smart Account Modules
https://docs.rhinestone.wtf/modulekit/
60 stars 31 forks source link

`expect4337Revert` with error string #71

Closed kopy-kat closed 1 month ago

kopy-kat commented 8 months ago

expect4337Revert currently only expects a revert of a userOperation during execution, but does not care what the revert string is. Similar to vm.expectRevert("error message"), expect4337Revert should also allow a developer to specify the exact error message they expect their userOperation to revert with

kopy-kat commented 1 month ago

implemented by https://github.com/rhinestonewtf/modulekit/pull/141