minty icon indicating copy to clipboard operation
minty copied to clipboard

`_setBaseURI` is deprecated in base contract

Open yusefnapora opened this issue 3 years ago • 0 comments

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 :)

yusefnapora avatar Mar 19 '21 16:03 yusefnapora