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

Lazily decode events from the trace #920

Merged
merged 1 commit into from
Jan 4, 2021
Merged

Conversation

iamdefinitelyahuman
Copy link
Member

What I did

Decode reverting transaction events only upon request.

This prevents other trace-related operations from being blocked when an event cannot be decoded.

How I did it

Move the call from _decode_trace into the events property method.

How to verify it

Run tests.

@iamdefinitelyahuman iamdefinitelyahuman merged commit 897b154 into master Jan 4, 2021
@iamdefinitelyahuman iamdefinitelyahuman deleted the fix-event-reverts branch January 4, 2021 00: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.

1 participant