Skip to content

[Feature Request]: Force the package version increment #204

@jolestar

Description

@jolestar

Feature Request

Describe the Feature Request

当前,Package version 只在链上记录,每次升级时,用户会在 upgrade plan 中指定 package 的版本,需要有一种机制保证这个版本是自增的,并且没有使用两阶段升级的 module,可以自动根据部署次数更新这个字段。

这样 DApp 或者其他合约可以通过这个版本号来检测合约是否有过升级,如果有过升级可以提醒开发者和用户。

Describe Preferred Solution

Describe Alternatives

Related Code

Additional Context

If the feature request is approved, would you be willing to submit a PR?
Yes / No (Help can be provided if you need assistance submitting a PR)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions