Assert require revert
Where does the issue come into play?Usually, when an assert fails, this indicates that there is a vulnerability with the state variables (usually connected with a security issue or a code mistake)Sometimes, require() statements can be too strong, in the sense that the condition can't be passed, making the function virtually useless.
Last updated