Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: introduce UUPSExtUpgradeable base contract #16

Merged
merged 3 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 proveYieldStreamer() has been added to the YieldStreamerV2 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 YieldStreamerV2 contract has been changed: 2.0.0 => 2.1.0.

@ihoroleksiienko ihoroleksiienko changed the title feat: introduce the UUPSExtUpgradeable base contract [WIP] feat: introduce the UUPSExtUpgradeable base contract Nov 13, 2024
@igorsenych-cw igorsenych-cw changed the title feat: introduce the UUPSExtUpgradeable base contract feat: introduce UUPSExtUpgradeable base contract Nov 18, 2024
@igorsenych-cw igorsenych-cw marked this pull request as ready for review November 18, 2024 10:01
@igorsenych-cw igorsenych-cw merged commit b8d77cf into yield-streamer-v2 Nov 18, 2024
3 of 6 checks passed
@igorsenych-cw igorsenych-cw deleted the upgrade-validation-ys2 branch November 18, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants