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

fix(protocol): Use safeMint with ERC721 #15636

Merged
merged 1 commit into from
Feb 2, 2024
Merged

fix(protocol): Use safeMint with ERC721 #15636

merged 1 commit into from
Feb 2, 2024

Conversation

adaki2004
Copy link
Contributor

  • Better to use safeMint() with ERC721 as _checkOnERC721Received will be called after token transferred. It ensures if the recipient is a contract, it is indeed designed to receive ERC721 tokens.
  • Comment mismatch with code.

@adaki2004 adaki2004 requested review from dantaik and Brechtpd and removed request for dantaik February 1, 2024 16:46
@dantaik dantaik added this pull request to the merge queue Feb 2, 2024
Merged via the queue into alpha-6 with commit c12e2d7 Feb 2, 2024
13 checks passed
@dantaik dantaik deleted the quill branch February 2, 2024 01:39
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