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

Improvements to dev revert strings #806

Closed
iamdefinitelyahuman opened this issue Oct 12, 2020 · 0 comments · Fixed by #861
Closed

Improvements to dev revert strings #806

iamdefinitelyahuman opened this issue Oct 12, 2020 · 0 comments · Fixed by #861
Labels
enhancement New feature or request

Comments

@iamdefinitelyahuman
Copy link
Member

Overview

The dev revert string should be available even when a contract returns an actual revert string.

Specification

  • Add an attribute TransactionReceipt.dev_revert_msg that only returns a dev revert string (if it exists).
  • Allow specific targetting of dev revert string in the reverts context manager: with brownie.reverts(dev="dev: foo"):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant