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: