-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Update EIP-721: Use latest version of solidity and remove caveats #5887
Conversation
All tests passed; auto-merging...(pass) eip-721.md
|
@@ -41,12 +41,12 @@ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "S | |||
**Every ERC-721 compliant contract must implement the `ERC721` and `ERC165` interfaces** (subject to "caveats" below): | |||
|
|||
```solidity | |||
pragma solidity ^0.4.20; | |||
pragma solidity ^0.8.17; |
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.
In safeTransferFrom
:
TypeError: Data location must be "memory" or "calldata" for parameter in external function, but none was given.
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.
I am not sure that these changes "correct errata [or] add non-normative clarifications":
- The caveats section still applies for Solidity 0.4.20, so these changes aren't errata.
- Removing the caveats section obviously isn't adding clarifications.
I'd recommend that we discuss this on EIPIP.
This adds a non-normative clarification: an outdated version of solidity is removed, and a new version is added. To make this work, an outdated section describing the limitations of an old version of solidity has to removed - an additional clarification that is added. These are clarifications that are added to EIP-721, even though they remove stuff. |
Lets discuss on discord/EIPIP. |
Closing as per discussion in EIPIP. If you'd like to continue discussion, feel free to re-open. |
All of the caveats mentioned in the EIP have been implemented in solidity. Thus, they are no longer relevant if the solidity version is updated to the most recent one.