OpenZeppelin / openzeppelin-test-helpers

Assertion library for Ethereum smart contract testing
https://docs.openzeppelin.com/test-helpers
MIT License
416 stars 132 forks source link

Add RSK to the list of providers that return a revert reason message. #146

Open core-baguira opened 3 years ago

core-baguira commented 3 years ago

Hi there,

RSK in it's new version will start supporting revert reason messages. Can we add it so the expectRevert function takes it into account? Version should be greater than: 2.2.0

An example on how the node info shows is: RskJ/2.2.0/Mac OS X/Java1.8/SNAPSHOT-dev.

Thank you

frangio commented 3 years ago

Can you submit a PR? We also need an integration test. You can look at #131 for reference.