Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have this example contract.
When execute the foo function, this revert the tx, how get the revert message?
PD.: i use truffle to test contracts
now truffle support revert message
This feature still not supported on high-level: https://github.com/ethereum/solidity/issues/1686
Required, but never shown