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

Documentation Nit: Remove Misleading Documentation in ERC721Burnable #3246

Merged
merged 1 commit into from
Apr 5, 2022

Conversation

dmfxyz
Copy link
Contributor

@dmfxyz dmfxyz commented Mar 8, 2022

Fixes
ERC721's _burn implementation does not irrevocably burn the token. Contracts that inherit from ERC721/ERC721 Burnable and expose a public burn function are able to re-mint burned tokens through the _mint function unless overridden/modified by the deployer/implementor.

This PR is literally a nit, but removes the "irrevocably" word from the description. The motivation of this PR was confusion by newer devs directly cloning OZ's implementations.

PR Checklist

  • Tests
  • Documentation
  • Changelog entry

Copy link
Contributor

@frangio frangio left a comment

Choose a reason for hiding this comment

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

Thanks @dmfxyz.

@frangio frangio merged commit d4d8d2e into OpenZeppelin:master Apr 5, 2022
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.

3 participants