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

handle StopIteration within tx receipts #1059

Merged
merged 1 commit into from
Apr 16, 2021

Conversation

iamdefinitelyahuman
Copy link
Member

What I did

Handle StopIteration in two places within TransactionReceipt.

Fixes an issue with a tx that fails due to out-of-gas, and another when trying to generate a traceback for a tx that failed in a contract where the source code is not verified.

Closes #969

How I did it

Add try:except around two iterators.

@iamdefinitelyahuman iamdefinitelyahuman merged commit d0ce24d into master Apr 16, 2021
@iamdefinitelyahuman iamdefinitelyahuman deleted the fix/stopiteration branch April 16, 2021 15:43
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.

StopIteration on show traceback with passing test
1 participant