Environment
Truffle v5.3.1 (core: 5.3.1)
Node v12.17.0
Details
When I have Ownable in my contract I get this error when attempting to deploy:
Cannot create instance of Color; no code at address
Code to reproduce
pragma solidity ^0.7.4;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract Color is ERC721, Ownable {
constructor() Ownable() ERC721("Color", "COLOR") public {
}
}