Can you use two different OpenZeppelin package versions in one Hardhat repo?

Hey @BonisTech,

The UpgradeableProxy was renamed to ERC1967Proxy in this Pull Request., and also breaking changes are expected across major versions. In this case, you're using both versions 3 and 4.

My feeling is that you're running some sort of cross-version testing, but I'm not sure why would that be needed.

Unless you have a very special use case, I don't think this cross major versions testing is needed.
Feel free to open another topic if your use case falls out of this thread.

1 Like