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

Closed
Open
Opened May 30, 2024 by right hou@right_hou1 of 1 task completed1/1 task

any权限三段式多签状态异常

【问题分类】

  • bug

【问题描述】

服务器搭建了10节点长安链,长安链版本为v2.3.2

采用冻结合约(CONTRACT_MANAGE-FREEZE_CONTRACT)这个方法作为测试方法。设置方法权限为any。此时系统配置状态为开启了三段式多签。 image

image

测试过程为测试过程不断增加不同意投票的个数,直到最后一个为true(即先0个不同意投票,最后一个投票为同意,再1个不同意投票,最后一个投票为同意,依次下去)。

结果为:

image image

多签状态只与第一票有关(投票时只要第一票是同意,那么多签的状态会变成agree,如果第一票是不同意,那么多签的状态会变成refused)触发之后。agree会变成adopted,refused仍是refused。功能不符,any投票不应该只与第一票有关,后续有同意的投票应该将状态变成agree。

【系统信息】

  • chainmaker-go version * : [v2.3.2]
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#1085

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