-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
ERC721 extension for efficient batch minting #3311
Conversation
Waiting for #3589 |
1e9dba2
to
03835b3
Compare
This reverts commit b8c48c8.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Co-authored-by: Francisco <frangio.1@gmail.com>
Co-authored-by: Francisco <frangio.1@gmail.com>
Co-authored-by: Francisco <frangio.1@gmail.com>
Hi @Amxx and @frangio sorry for being late to the discussion. TL;DR: I discover this PR only when researching for EIP-6047. And I have concern about this PR going into next OZ release because backward incompatibility at its current version. At the very least it should be named differently and removed The longer version: ERC-2309 is incompatible with ERC-721, and its title is confusing. If adopting ERC-2309, including this PR if release to prod of OZ and being used by OZ users who don't necessarily understand the incompatibility, which is very likely given so many people use OZ contracts, will break all indexers who assumes Example of breakage:
will be broken without something like the following update:
While this may seem trivial, imagine across the whole web we need get all the indexers to each make similar updates, including Blockscan, OpenSea ... This is why I say it's backward incompatible. FYI:
|
Hello @xinbenlv If you check out the ERC712 specifications, it is clearly stated that
Link: https://eips.ethereum.org/EIPS/eip-721 As a consequence, this IS compatible with ERC712, and indexers that don't support this exception (which is part of the standard) are the ones that need fixing. |
EIP-2309's author admittedd incompatibility: ethereum/EIPs#2309 (comment) ERC-721's exception you referrenced is only at "contract creation". Is ERC721Consecutive.sol only used in contract creation? |
Yes. Batch minting reverts when used outside of the constructor. Furthermore, this has already been released. Please see the code or the documentation before commenting. |
Fixes #2355
PR Checklist