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

Closed
Open
Opened Oct 27, 2022 by pineapple big@bigpineapple1 of 1 task completed1/1 task

majority模式下安装合约的集中投票问题

【问题分类】

  • 智能合约相关

【问题描述】(请对问题进行描述,方便定位问题)

具体的现象,

majority模式下安装合约要各节点endorsement ,现在都是存在数据库里面凑满了投票再提交,如果跨机构无法把所有组织的用户证书、公私钥集中到一起,怎样才能安全的安装合约呢?

cmc集中了证书、key后安装合约,极不安全: ./cmc client contract user create
--contract-name=gocontract
--runtime-type=DOCKER_GO
--byte-code-path=/home/contract_docker_go/target/release/gocontract.7z
--version=1.0
--sdk-conf-path=./testdata/sdk_config.yml
--admin-key-file-paths=./testdata/crypto-config/wx-org1.chainmaker.org/user/admin1/admin1.tls.key,./testdata/crypto-config/wx-org2.chainmaker.org/user/admin1/admin1.tls.key,./testdata/crypto-config/wx-org3.chainmaker.org/user/admin1/admin1.tls.key,./testdata/crypto-config/wx-org4.chainmaker.org/user/admin1/admin1.tls.key
--admin-crt-file-paths=./testdata/crypto-config/wx-org1.chainmaker.org/user/admin1/admin1.tls.crt,./testdata/crypto-config/wx-org2.chainmaker.org/user/admin1/admin1.tls.crt,./testdata/crypto-config/wx-org3.chainmaker.org/user/admin1/admin1.tls.crt,./testdata/crypto-config/wx-org4.chainmaker.org/user/admin1/admin1.tls.crt
--sync-result=true
--params="{}"

【相关日志文件】(如果有报错日志请贴图,或者上传附件)

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

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