Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

fix:make events display again #1402

Merged
merged 3 commits into from
Aug 23, 2019
Merged

fix:make events display again #1402

merged 3 commits into from
Aug 23, 2019

Conversation

davidmurdoch
Copy link
Member

Contract events weren't showing up for users of [email protected] and higher due to a commit that removed the event's signature from migrated contract abis: trufflesuite/truffle#1949

This PR fixes this issue by creating the event signature locally if it isn't already supplied in the abi.

Fixes #1293

@davidmurdoch davidmurdoch changed the title fix:make contract events display again fix:make events display again Aug 22, 2019
@gnidan gnidan requested a review from haltman-at August 22, 2019 23:02
@gnidan
Copy link

gnidan commented Aug 22, 2019

@haltman-at (added you as reviewer here, if you get the chance, to verify that the encoding logic is sufficiently correct)

Copy link

@haltman-at haltman-at left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only bothered looking at the computing of the selector. Since it just uses web3 to do it (and thankfully doesn't run into the versioning problems we ran into), yeah, seems fine to me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

I cannot see any events on event page
4 participants