hashgraph / hedera-smart-contracts

Contains Hedera Smart Contract Service supporting files
Apache License 2.0
38 stars 53 forks source link

fix: replaced OZUUPSUpgradableV4 with OZ UUPSUpgradeable V5 (#643) #645

Closed quiet-node closed 8 months ago

quiet-node commented 8 months ago

Description: PR #644 migrates from ethers v5 to ethers v6 and upgrades @openzeppelin/hardhat-upgrades to v3.0.2. This update is compatible with @openzeppelin/contracts-upgradeable v5x, eliminating the need for the customized OZUUPSUpgradeableV4 contract to bypass the unsafe upgrade checks.

This PR removes the customized OZUUPSUpgradeableV4 contract and replaces it with @openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol.

Related issue(s): #641

Fixes #643

Notes for reviewer:

Checklist

github-actions[bot] commented 8 months ago

Test Results

  15 files  +  1    74 suites  +2   7m 59s :stopwatch: -8s 242 tests ±  0  235 :heavy_check_mark:  - 1  6 :zzz: ±0  1 :x: +1  252 runs  +10  245 :heavy_check_mark: +9  6 :zzz: ±0  1 :x: +1 

For more details on these failures, see this check.

Results for commit 4080d757. ± Comparison against base commit 214b756c.

:recycle: This comment has been updated with latest results.