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

Closed
Open
Opened Feb 20, 2025 by ou li@ouli

pk模式下cmc部署chainmaker-did-sdk-go

pk模式下cmc部署chainmaker-did-sdk-go

./cmc client contract user create
--contract-name=ChainMakerDid
--runtime-type=DOCKER_GO
--byte-code-path=../../../chainmaker-did-sdk-go/contract/ChainMakerDid.7z
--version=1.0
--sdk-conf-path=./testdata/sdk_config_pk.yml
--admin-key-file-paths=./testdata/crypto-config/node1/admin/admin1/admin1.key
--sync-result=true
--params="{"didMethod":"cm","enableTrustIssuer":"true"}"

报错: Error: tx verify failed, verify tx authentation failed, authentication error for CONTRACT_MANAGE-INIT_CONTRACT: authentication fail for any rule, policy: rule: [ANY],roleList: [[ADMIN]], txId:1825d95e9a645203ca0ec3acb124d59a995a2eebdda74aa08aab26f7a4c276d6, sender:2d2d2d2d2d424547494e205055424c4943204b45592d2d2d2d2d0a4d466b77457759484b6f5a497a6a3043415159494b6f5a497a6a3044415163445167414546504f344664616449375763556d334e484b7655454b726754624c430a486f4b6b6d33765357524b344f73564d486e694e6c42774646495156522b4f306b58596d5757442b746941304b55706643306f41455a32534a413d3d0a2d2d2d2d2d454e44205055424c4943204b45592d2d2d2d2d0a

sdk_config_pk.yml: image

Edited Feb 20, 2025 by ou li
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#1318

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