You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this expected?
I assumed that it was a minor bug in master branch. Should be
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)
The text was updated successfully, but these errors were encountered:
_requireMinted() was introduced in #3438, which is part of 4.7
It was not part of 4.6 or any other version before that.
The last updated message is updated when a version is fully released. 4.7 is still a release candidate, and was not yet merged back in the master, so the last updated message was not yet updated on master.
@Amxx one of my ERC721 contracts does not have the _requireMinted() function yet does that pose a malicious risk to the contract? or this just for clarity? Thanks I'll be anticipating your response.
For contracts/token/ERC721/ERC721.sol, it seems to be that _requireMinted() function was introduced in v.4.7.
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.7/contracts/token/ERC721/ERC721.sol
has requireMinted()
but https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.6/contracts/token/ERC721/ERC721.sol
does not have requireMinted().
in master branch:
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol
The second line says that it is last updated v.4.6.
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)
But it doesn't have requireMinted().
Is this expected?
I assumed that it was a minor bug in master branch. Should be
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)
The text was updated successfully, but these errors were encountered: