We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
发布合约后,可以看到一个 0x2::package::UpgradeCap
0x2::package::UpgradeCap
在更新合约时,使用这个objectid,即可更新合约,后续更新还是用这个第一次的UpgradeCap
UpgradeCap
sui client upgrade --upgrade-capability 0x0201cdae80356d7fa8424eefb3b621349afa3bcfe65807f11db24fe2740c6baf
可以看到,这里version变成了2
然后接着使用新的packageid即可
注意:后面的版本 init 方法可能会被忽略,不会再执行.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
发布合约后,可以看到一个
0x2::package::UpgradeCap
在更新合约时,使用这个objectid,即可更新合约,后续更新还是用这个第一次的
UpgradeCap
可以看到,这里version变成了2

然后接着使用新的packageid即可

注意:后面的版本 init 方法可能会被忽略,不会再执行.
The text was updated successfully, but these errors were encountered: