Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: introduce UUPSExtUpgradeable base contract #10

Merged
merged 7 commits into from
Nov 18, 2024

Conversation

ihoroleksiienko
Copy link
Contributor

@ihoroleksiienko ihoroleksiienko commented Nov 12, 2024

Main changes

  1. The new UUPSExtUpgradeable contract has been introduced for internal usage through inheritance.
  2. The new contract provides additional checks during the upgrade, making the procedure safer.
  3. A new marker function named proveBalanceFreezer() has been added to the BalanceFreezer contract for use in conjunction with the new UUPSExtUpgradeable contract. When upgrading, that function ensures that the new implementation of the contract is compatible.

Versioning

The version of the BalanceFreezer contract has been changed: 1.0.0 => 1.1.0.

Test coverage

New functionality was fully covered by tests.

@ihoroleksiienko ihoroleksiienko changed the title Upgrade validation ia feat: introduce the UUPSExtUpgradeable Nov 13, 2024
@igorsenych-cw igorsenych-cw changed the title feat: introduce the UUPSExtUpgradeable feat: introduce UUPSExtUpgradeable base contract Nov 18, 2024
@igorsenych-cw igorsenych-cw marked this pull request as ready for review November 18, 2024 09:16
@igorsenych-cw igorsenych-cw merged commit e83ed3c into main Nov 18, 2024
6 checks passed
@igorsenych-cw igorsenych-cw deleted the upgrade-validation-ia branch November 18, 2024 10:44
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants