From a9dbaf177ea4bb99bb6dd0e46f4d4031cb4a8435 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Mon, 9 Oct 2023 10:51:14 +0200 Subject: [PATCH] flatten fix --- apps/remix-ide-e2e/src/tests/sol2uml.test.ts | 22 +------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/sol2uml.test.ts b/apps/remix-ide-e2e/src/tests/sol2uml.test.ts index a0e1eddb7e..eaa3674735 100644 --- a/apps/remix-ide-e2e/src/tests/sol2uml.test.ts +++ b/apps/remix-ide-e2e/src/tests/sol2uml.test.ts @@ -190,28 +190,8 @@ import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol"; -contract MyToken is Initializable, ERC721Upgradeable, OwnableUpgradeable, UUPSUpgradeable { - /// @custom:oz-upgrades-unsafe-allow constructor - constructor() { - _disableInitializers(); - } - - function initialize() initializer public { - __ERC721_init("MyToken", "MTK"); - __Ownable_init(); - __UUPSUpgradeable_init(); - } - - function safeMint(address to, uint256 tokenId) public onlyOwner { - _safeMint(to, tokenId); - 1 + 1; - } +abstract contract MyToken is Initializable, ERC721Upgradeable, OwnableUpgradeable, UUPSUpgradeable { - function _authorizeUpgrade(address newImplementation) - internal - onlyOwner - override - {} } `} }