Skip to content

Lazily decode events from the trace#920

Merged
iamdefinitelyahuman merged 1 commit intomasterfrom
fix-event-reverts
Jan 4, 2021
Merged

Lazily decode events from the trace#920
iamdefinitelyahuman merged 1 commit intomasterfrom
fix-event-reverts

Conversation

@iamdefinitelyahuman
Copy link
Copy Markdown
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