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: upgrade factory from DAO #193

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

agileurbanite
Copy link

feat: upgrade factory from DAO

Allow factory to be upgradeable from a DAO act_proposal outcome.

Allows storing a factory then voting on upgrading it's hash to the new factory version while also storing factory metadata to keep track of factory changes.

ctindogaru and others added 3 commits December 12, 2022 12:46
feat: create proposal to upgrade factory

feat: upgrade factory from dao

feat: create script for upgrading factory from dao

feat: introduce upgrade_factory method

fix: remove new proposals

revert: factory manager update factory_contract method

fix: remove update factory method

restore old dao code

fix: dao wasm

modify scripts
@agileurbanite
Copy link
Author

Curious to get @ilblackdragon thoughts if we should add the concept of guardians with unique permissions as ref has: https://guide.ref.finance/developers/guardians

@agileurbanite
Copy link
Author

@ilblackdragon made a note offline about the lack of migrate function in the factory, will need to update this PR to reflect that. Converting back to draft until ready for review

@agileurbanite agileurbanite marked this pull request as ready for review January 4, 2023 23:51
@agileurbanite agileurbanite removed the request for review from austinabell January 4, 2023 23:51
@agileurbanite
Copy link
Author

Removed storing factory metadata and applied migrate method to be invoked during upgrade

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.

3 participants