Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #300

Closed
Open
Opened Aug 09, 2022 by joey wang@joey

合约更新只会调用合约第一次创建时的方法么

合约更新只会调用合约第一次创建时的方法么,当合约创建完成后,每一次升级,都调用的是第一次合约创建的InitContract方法,那之后升级成功的合约的InitContract方法并不会被调用,这样如果遇到更新升级,代码能做到的操作就会很少。

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#300

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。