You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
@aleybovich This has been implemented in Truffle V5, which we're planning to release in beta shortly. You can preview it by installing truffle at the @next tag and there is a draft release notes with detailed instructions open as a PR here. Checkout the web3 1.0 section for more detail about reason strings.
$ npm install truffle@next
There's another issue about this - #976 - would it be ok if we track it there?
@aleybovich I'm using it right now to write the tests for a package registry at EthPM here. And Colony has a PR open upgrading to it. That said I wouldn't describe it as "stable" and there are various small bugs still to work out.
Also contains significant breaking changes in truffle-contract - returning BN instead of BigNumber is the main one.
Obviously you're welcome to try it out - would love feedback and bug reports.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue
There is no way of getting the actual error message when a
require
statements throws.Steps to Reproduce
Have a contract that throws in
require
with an error message, likeExpected Behavior
The error message that the client receives includes the above error message
Actual Results
The client gets a generic
VM Exception while processing transaction: revert
messageEnvironment
Truffle v4.1.11 (core: 4.1.11)
Solidity v0.4.24 (solc-js)
Solidty docs talk about the error messages and how they are returned (at the bottom of the page): http://solidity.readthedocs.io/en/v0.4.24/control-structures.html
The text was updated successfully, but these errors were encountered: