When you have an implementation contract deployed behind deployProxy of openzeppelin, is allowed to:
- Leave the implementation contract initialize function unrestricted?
- Not call _disableInitializers() in the implementation contract constructor?
When you have an implementation contract deployed behind deployProxy of openzeppelin, is allowed to:
deployProxy
from the Hardhat Upgrades plugin._disableInitializers()
is recommended. See What does `_disableInitializers();` function mean? for reasoning.