Skip to content

Commit

Permalink
disable initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaryash90 committed Aug 15, 2023
1 parent 4f9af22 commit c503393
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Expand Up @@ -48,7 +48,9 @@ contract BurnToClaimDropERC721 is
Constructor + initializer logic
//////////////////////////////////////////////////////////////*/

constructor(Extension[] memory _extensions) BaseRouter(_extensions) {}
constructor(Extension[] memory _extensions) BaseRouter(_extensions) {
_disableInitializers();
}

/// @dev Initiliazes the contract, like a constructor.
function initialize(
Expand Down
4 changes: 3 additions & 1 deletion contracts/unaudited/evolving-nfts/EvolvingNFT.sol
Expand Up @@ -41,7 +41,9 @@ contract EvolvingNFT is
/// @dev Only MINTER_ROLE holders can sign off on `MintRequest`s.
bytes32 private constant EXTENSION_ROLE = keccak256("EXTENSION_ROLE");

constructor(Extension[] memory _extensions) BaseRouter(_extensions) {}
constructor(Extension[] memory _extensions) BaseRouter(_extensions) {
_disableInitializers();
}

/// @dev Initiliazes the contract, like a constructor.
function initialize(
Expand Down

0 comments on commit c503393

Please sign in to comment.