livepeer / protocol

Livepeer protocol
MIT License
154 stars 45 forks source link

test: mock proxy revert reasons #354

Closed kyriediculous closed 4 years ago

kyriediculous commented 4 years ago

This PR allows the GenerickMock.execute method that makes external contract calls to return revert reasons. It also updates any unit tests that use this method to call a function on another contract with the right permissions to test for revert reasons.

Fixes #333