Open Sergei-Liakh opened 1 month ago
Support for custom errors in a require statement has been added in https://github.com/crytic/slither/pull/2550. It's merged in the dev
branch and will be in the next slither release. If you need it right now please use slither from the dev
branch.
Describe the issue:
Custom errors within require statements work correctly when used inside functions, but they trigger an error when placed inside a modifier.
Code example to reproduce the issue:
Version:
0.10.4
Relevant log output: