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

Emit correct Transfer and Approval events for ERC721 #194

Closed
acuarica opened this issue Jan 14, 2025 · 0 comments · Fixed by #215
Closed

Emit correct Transfer and Approval events for ERC721 #194

acuarica opened this issue Jan 14, 2025 · 0 comments · Fixed by #215
Assignees

Comments

@acuarica
Copy link
Contributor

The events declared for ERC721 in IERC721Events do not contain the Transfer and Approval methods. This is because the ERC721 implementation reuses the events from ERC20.

However, there is a slight difference. The uint256 argument is indexed for ERC721, but not for ERC20. This can lead to inconsistencies.

Use and emit the proper event definitions for the ERC721 implementation.

@acuarica acuarica added bug A error that causes the feature to behave differently than what was expected based on design docs and removed bug A error that causes the feature to behave differently than what was expected based on design docs labels Jan 14, 2025
@arianejasuwienas arianejasuwienas self-assigned this Jan 21, 2025
arianejasuwienas added a commit that referenced this issue Jan 22, 2025
arianejasuwienas added a commit that referenced this issue Jan 23, 2025
arianejasuwienas added a commit that referenced this issue Jan 23, 2025
arianejasuwienas added a commit that referenced this issue Jan 23, 2025
arianejasuwienas added a commit that referenced this issue Jan 24, 2025
arianejasuwienas added a commit that referenced this issue Jan 24, 2025
Signed-off-by: Mariusz Jasuwienas <[email protected]>
arianejasuwienas added a commit that referenced this issue Jan 26, 2025
arianejasuwienas added a commit that referenced this issue Jan 28, 2025
Signed-off-by: Mariusz Jasuwienas <[email protected]>
arianejasuwienas added a commit that referenced this issue Jan 28, 2025
arianejasuwienas added a commit that referenced this issue Jan 29, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in Smart Contract Sprint Board Jan 29, 2025
arianejasuwienas added a commit that referenced this issue Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants