How to upgrade Move Module
note
TODO
- Introduce the Compatibility requirement
- Introduce upgrade strategy
- Suggestion to keep Compatibility and How to force upgrade
- Hot to delegate UpgradeCapability to DAO
- Give an example for upgrade module
Migrate and Rewrite
- https://starcoin.org/en/developer/blog/starcoin_stdlib_upgrade/
- https://starcoin.org/zh/developer/blog/starcoin_stdlib_upgrade/
Part of
FAQ
Can third-party contract incompatible upgrade be implemented without Dao?
Incompatible upgrades can be achieved through a two-stage commit upgrade, but the current command line does not yet support direct two-stage upgrades.
What if
BACKWARD_INCOMPATIBLE_MODULE_UPDATE
error occurs when redeploying tokenswap?Error due to incompatibility between front and back,add the
--ignore-breaking-changes
parameter and rerun.Is there a way to force deploy module?
Without considering compatibility, the deploy module can be submitted in two phases.