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

Add missing Transfer and Approval events #266

Merged
merged 3 commits into from Oct 3, 2017
Merged

Conversation

nberger
Copy link
Contributor

@nberger nberger commented Sep 28, 2017

Added the events in the *Data methods, and in burn

Fixes #248

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 87.679% when pulling f0cbeeb on add-transfer-events into a624dcf on master.

Copy link
Contributor

@AugustoL AugustoL left a comment

Choose a reason for hiding this comment

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

For this we have the ApprovalData and TransferData events, we can replace them for Transfer and Approval events instead of adding them

@nberger
Copy link
Contributor Author

nberger commented Sep 29, 2017

Don't we want to have an event that includes the data param? Using the original events only has the downside that they don't include that value

@AugustoL
Copy link
Contributor

AugustoL commented Oct 2, 2017

Yes, but the data parameter can be extracted from the transaction data, I think that will be better because if not we will log more information than the one we need. Lets just use the ERC20 token events.

@nberger
Copy link
Contributor Author

nberger commented Oct 2, 2017

Makes sense, I'll change it that way

TransferData and ApprovalData are not needed, we can just use the existing
Transfer and Approval. The data content can be fetched from the transactions
if needed
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 87.755% when pulling 31f547f on add-transfer-events into a624dcf on master.

@nberger
Copy link
Contributor Author

nberger commented Oct 2, 2017

@AugustoL: just made the changes, how does it look now?

@AugustoL
Copy link
Contributor

AugustoL commented Oct 3, 2017

Great, thanks @nberger

@nberger nberger merged commit 761bfae into master Oct 3, 2017
@nberger nberger deleted the add-transfer-events branch October 3, 2017 15:24
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.

None yet

3 participants