Skip to content

Conversation

wolovim
Copy link
Member

@wolovim wolovim commented Jul 30, 2020

What was wrong?

The replace_exception decorator swallows the original exception context. This prevents web3.py from handling revert messages when using eth_tester. Relevant issue: ethereum/web3.py#1585.

How was it fixed?

Just passes the err through.

To-Do

  • Clean up commit history

Cute Animal Picture

@wolovim wolovim requested a review from carver July 30, 2020 00:27
@wolovim wolovim mentioned this pull request Jul 30, 2020
5 tasks
@wolovim wolovim force-pushed the replace-exception-with-message branch from 1220845 to 4840f06 Compare July 30, 2020 00:34
@wolovim wolovim force-pushed the replace-exception-with-message branch from 4840f06 to e7d5d4b Compare July 30, 2020 00:36
@wolovim wolovim merged commit 52ee9f8 into ethereum:master Jul 30, 2020
@wolovim wolovim deleted the replace-exception-with-message branch July 30, 2020 16:25
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.

2 participants