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

Add new VersionDistribution abstract contract #12

Open
peersky opened this issue Oct 3, 2024 · 0 comments
Open

Add new VersionDistribution abstract contract #12

peersky opened this issue Oct 3, 2024 · 0 comments

Comments

@peersky
Copy link
Member

peersky commented Oct 3, 2024

Provide upgradable distribution abstract for developer convenience of creating packages intended for version control.

This contract should contain following features:

  • It is upgradable (can switch implementation address)
  • Upgrade call is restricted method only for designated msg.sender
  • Upgrade call verifies that upgrade was sanctioned by installer contract (it must store installer location)
  • It must delegatecall and pass calldata for a specified initializer contract specified in upgrade function arguments
  • It must revert if initializer contract delegater fails
@peersky peersky added this to the Version upgrades handling milestone Oct 3, 2024
@peersky peersky changed the title Upgrades handling in Installer Add new VersionDistribution base contract Oct 3, 2024
@peersky peersky changed the title Add new VersionDistribution base contract Add new VersionDistribution abstract contract Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant