Skip to content
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

there is no revert message in source code #1762

Closed
startgeek opened this issue May 20, 2019 · 1 comment
Closed

there is no revert message in source code #1762

startgeek opened this issue May 20, 2019 · 1 comment

Comments

@startgeek
Copy link

I use test's in github for my refrence and in those test's all of the reverts has message that will fetched via shouldFail.reverting.withMessage(somePromise, 'and heres why I reverted');
I observed that It dosen't return any messages then I inspected the source code and I realized non of the Require() function has message so did I missing some thing here? whats going on?

💻 Environment: MacOS latest

version of OpenZeppelin :2.2.0

@frangio
Copy link
Contributor

frangio commented May 20, 2019

The revert messages were added recently in #1704.

They are in the latest release candidate which you can install via npm install openzeppelin-solidity@next.

@frangio frangio closed this as completed May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants