Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

_setBaseURI is deprecated in base contract #11

Open
yusefnapora opened this issue Mar 19, 2021 · 0 comments
Open

_setBaseURI is deprecated in base contract #11

yusefnapora opened this issue Mar 19, 2021 · 0 comments
Assignees

Comments

@yusefnapora
Copy link
Owner

The _setBaseURI function from the OpenZeppelin base contract has been removed and isn't present in versions > 3.4.0 (I think).

It looks like we should override the _baseURI method instead: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/3dc374ddcf46739185bd12759eaa826b579e5a0a/contracts/token/ERC721/ERC721.sol#L102

This will break if we update the base contract, so worth fixing :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant