How to upgrade Move Module
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
FAQ
通过两阶段提交升级就可以实现不兼容升级,但当前的命令行还不支持直接两阶段升级。
重新部署 tokenswap 出现
BACKWARD_INCOMPATIBLE_MODULE_UPDATE
报错怎么办?前后两次不兼容导致的报错,根据提示需加上
--ignore-breaking-changes
参数重新运行。在不考虑兼容性的前提下,通过两阶段提交 deploy module 即可。