opensea-creatures icon indicating copy to clipboard operation
opensea-creatures copied to clipboard

Importing Zeppelin contracts.

Open MunCrypDev opened this issue 3 years ago • 1 comments

Hello,

Sorry if i am mistaken but it looks like your contracts trying to import the openzeppelin contracts are a little outdated?

Currently they are as below: import "openzeppelin-solidity/contracts/access/Ownable.sol"; import "openzeppelin-solidity/contracts/utils/Strings.sol";

Where i believe they should now be: import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol";

MunCrypDev avatar Aug 22 '21 11:08 MunCrypDev

this change will need to be made to all contracts if this is out of date as they all use this incorrect import.

MunCrypDev avatar Aug 22 '21 11:08 MunCrypDev