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
Sometimes, I need to make fake revert. For example, when I write tests for uniswap family contracts or another contracts based on nested calls. But I can't make fake revert with custom message using smock.
Please, help me to understand what I did wrong.
Describe the bug
Sometimes, I need to make fake revert. For example, when I write tests for uniswap family contracts or another contracts based on nested calls. But I can't make fake revert with custom message using smock.
Please, help me to understand what I did wrong.
Reproduction steps
To simplify reproduction, I made a repo https://github.com/kalloc/smock-reverts-bug
Expected behavior
I expected to have an ability to fake revert with custom message
Screenshots
System Specs:
The text was updated successfully, but these errors were encountered: