Governance support persistence and contract upgrade #8123
Labels
contract-upgrade
enhancement
New feature or request
Governance
Governance
Zoe Contract
Contracts within Zoe
What is the Problem Being Solved?
Contract Governance is not persistent, so if we were to upgrade contracts, they would lose the state of their governed parameters.
Description of the Design
Add Durability to the necessary components of governance so that contracts can be upgraded and thereafter retain the state of their parameters. Most parameters could be re-initialized to their values as in terms, from which point governance could mutate them further.This is not true of invitations, since
terms
only includes the amount.Security Considerations
Maintain legibility of parameters. If any param values have to be provided via private args during the upgrade, it's crucial that param governance or some other mechanism maintain their visibility.
Scaling Considerations
N/A. contract upgrade is one-at-a-time.
Test Plan
an upgrade test that show two cycles of upgrade, since retaining param values can only be observed on the second refresh.
Upgrade Considerations
It's all upgrade.
The text was updated successfully, but these errors were encountered: