flatten fix

pull/5370/head
filip mertens 1 year ago committed by Aniket
parent a9dbaf177e
commit 6f4aaeb7f0
  1. 22
      apps/remix-ide-e2e/src/tests/contract_flattener.test.ts

@ -51,28 +51,8 @@ const sources = [
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
contract MyToken is Initializable, ERC721Upgradeable, ERC721BurnableUpgradeable, OwnableUpgradeable, UUPSUpgradeable {
/// @custom:oz-upgrades-unsafe-allow constructor
constructor() {
_disableInitializers();
}
function initialize() initializer public {
__ERC721_init("MyToken", "MTK");
__ERC721Burnable_init();
__Ownable_init();
__UUPSUpgradeable_init();
}
function safeMint(address to, uint256 tokenId) public onlyOwner {
_safeMint(to, tokenId);
}
abstract contract MyToken is Initializable, ERC721Upgradeable, ERC721BurnableUpgradeable, OwnableUpgradeable, UUPSUpgradeable {
function _authorizeUpgrade(address newImplementation)
internal
onlyOwner
override
{}
}
`
},

Loading…
Cancel
Save