Skip to main content

How to upgrade Move Module

note

TODO

  1. Introduce the Compatibility requirement
  2. Introduce upgrade strategy
  3. Suggestion to keep Compatibility and How to force upgrade
  4. Hot to delegate UpgradeCapability to DAO
  5. Give an example for upgrade module

Migrate and Rewrite

Part of

FAQ

  1. 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.

  2. 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.

  3. Is there a way to force deploy module?

    Without considering compatibility, the deploy module can be submitted in two phases.