-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-add require and assert #1762
Comments
require might receive an argument for an explanation message or error code in the future |
I'm not sure if we had thought about |
According to thesaurus.com:
Maybe we should look at dictionaries more often to make decisions quicker :) |
require(bool)
: callsrevert()
if the argument is falseassert(bool)
: invalid opcode if argument is falseThe text was updated successfully, but these errors were encountered: