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 9
    • Issues 9
    • 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
  • #1441

Closed
Open
Opened Aug 11, 2025 by 13141249113@131412491131 of 4 tasks completed1/4 tasks

浏览器后端服务chainmaker-explorer,订阅链的时候支持permissionedWithKey身份模式创建SubscribeToChain中的ChainInfo配置。

【提议方】选填

组织/单位/公司/个人的名称/昵称 个人:Regan

【需求分类】

  • chainmaker-go 新特性
  • bugfix
  • 新项目
  • 其他

其他:

【功能/项目名称】

具体的功能名称或者项目名称,方便以后交流。

浏览器后端服务chainmaker-explorer,适配订阅permissionedWithKey身份模式链

【开发周期】

人天

0.5人天

【适配版本】

拟适配/合入的chainmaker-go的版本,要求大版本向前兼容

chainmaker-explorer 2.8.0

【功能/项目描述】

具体所要实现的功能详细描述(需求说明、设计文档、如何实现、开发周期等)

需求:
浏览器后端服务chainmaker-explorer,订阅链的时候支持permissionedWithKey身份模式创建SubscribeToChain中的ChainInfo配置。
设计及实现:
在src/sync/clinets/clients.go 文件CreateChainClient方法中,第65行中,
根据chainInfo入参中的chainInfo.AuthType判断是否为PWK模式身份权限,
如果是则根据chainInfo.HashType入参设置ChainClientConfig.crypto参数,
并且设置ChainClientConfig.orgId参数.

另外\src\config\config.go 第13行添加const PermissionedWithKey = "permissionedwithkey"常量。

已开发验证完成

【考虑过的其他实现方案】

列举其他实现方案,并对比分析。

暂无

【预计影响范围】

描述该功能可能的影响范围,方便评估。若是新项目则可忽略

其他身份权限模式不受影响

【系统信息】

拟支持的系统:要求Linux-x86、Linux-arm-86必须支持,其他信创、龙芯、麒麟、统信尽量支持

不受系统版本限制

Edited Aug 11, 2025 by 13141249113
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#1441

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