# Feature Request **Describe the Feature Request** 当前,Package version 只在链上记录,每次升级时,用户会在 upgrade plan 中指定 package 的版本,需要有一种机制保证这个版本是自增的,并且没有使用两阶段升级的 module,可以自动根据部署次数更新这个字段。 这样 DApp 或者其他合约可以通过这个版本号来检测合约是否有过升级,如果有过升级可以提醒开发者和用户。 <!-- A clear and concise description of what the feature request is. Please include if your feature request is related to a problem. --> **Describe Preferred Solution** <!-- A clear and concise description of what you want to happen. --> **Describe Alternatives** <!-- A clear and concise description of any alternative solutions or features you've considered. --> **Related Code** <!-- If you are able to illustrate the bug or feature request with an example, please provide it here. --> **Additional Context** <!-- List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to add, use case, Stack Overflow links, forum links, screenshots, OS if applicable, etc. --> **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)_