Skip to content

Commit

Permalink
Use onlyInitializing in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ericglau committed Dec 6, 2024
1 parent c43ba46 commit 88eaa6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/contracts/test/cli/excludes/AbstractUUPS.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ abstract contract AbstractUUPS is UUPSUpgradeable, Abstract1, Abstract2 {
z = _z;
}

function initialize() initializer public {
function initialize() onlyInitializing public {
__UUPSUpgradeable_init();
}
}

0 comments on commit 88eaa6d

Please sign in to comment.