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
  • #1342

Closed
Open
Opened Mar 14, 2025 by Ligueston Guest@hkuclion

启用Gas时, 部署合约失败

启用了Gas的情况下, 如果部署合约的payload中不包含gasLimit, 会报错 deploy contract failed, [code:43]/[msg:field GasLimit must be set in payload.]

如果包含了gasLimit, 则sdk会报告成功,但是生成的transaction Id查不到, 块高也没有增加. 查询节点的system.log, 可以看到 contractmgr/contract_manager.go:414 install contract success[name:DREvidenceAdminController version:1.0.0 runtimeType:5 byteCodeLen:11684] 的成功信息, 但是在链上并没有记录下来.

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#1342

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