The Hardhat Upgrades plugin uses precompiled proxy bytecodes that are packaged in the NPM package @openzeppelin/upgrades-core.
Document this behavior to make it clear that:
- The proxy compiler version is independent of the compiler version specified in the user's project,
- Different versions of
@openzeppelin/upgrades-core may use different compiler versions and different versions of the proxies from OpenZeppelin Contracts, and
- If users want the same proxy bytecodes deployed to different chains, they should consistently use the same versions of
@openzeppelin/hardhat-upgrades and @openzeppelin/upgrades-core for those deployments, and for source code verification.
The Hardhat Upgrades plugin uses precompiled proxy bytecodes that are packaged in the NPM package
@openzeppelin/upgrades-core.Document this behavior to make it clear that:
@openzeppelin/upgrades-coremay use different compiler versions and different versions of the proxies from OpenZeppelin Contracts, and@openzeppelin/hardhat-upgradesand@openzeppelin/upgrades-corefor those deployments, and for source code verification.