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

Upgrade beacon through RoyaltyPolicyLAP #88

Merged
merged 2 commits into from
Apr 14, 2024

Conversation

Ramarti
Copy link

@Ramarti Ramarti commented Apr 13, 2024

Although the royalty vault's beacon was already upgradeable by AccessManager contract (since it was the original admin), we are doing the following to make the process more consistent with the rest of UPGRADER_ROLE reserved methods

  • Add method to upgrade royalty vaults in RoyaltyPolicyLAP, restricted
  • Transfer ownership of the vault to RoyaltyPolicyLAP in DeployHelper
  • Set the new method to be called by UPGRADER_ROLE like the others.
  • Test it

Closes #49

@Ramarti Ramarti merged commit a997c50 into storyprotocol:main Apr 14, 2024
3 checks passed
jdubpark pushed a commit to jdubpark/sp-protocol-core that referenced this pull request Apr 14, 2024
* upgrade beacon via RoyaltyPolicyLAP

* lint
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

Successfully merging this pull request may close these issues.

IpRoyaltyVault UpgradableBeacon should be controlled by Governance
3 participants