Skip to content

Run calls as transactions when catching dev revert comment#659

Merged
iamdefinitelyahuman merged 1 commit intomasterfrom
fix-dev-revert-on-call
Jul 4, 2020
Merged

Run calls as transactions when catching dev revert comment#659
iamdefinitelyahuman merged 1 commit intomasterfrom
fix-dev-revert-on-call

Conversation

@iamdefinitelyahuman
Copy link
Copy Markdown
Member

What I did

When using brownie.reverts to catch a dev revert comment, perform all calls as transactions. This fixes an issue where sometimes it is impossible to assign a revert comment to a failed call.

How to verify it

Run tests.

@iamdefinitelyahuman iamdefinitelyahuman merged commit c41311d into master Jul 4, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the fix-dev-revert-on-call branch July 4, 2020 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant