【问题标题】:Endorement Error while invoking chain code调用链码时出现背书错误
【发布时间】:2019-03-20 17:05:44
【问题描述】:

我在多台服务器中设置了超级账本结构网络,并且我在不同组织的不同对等点(peer0.org1.compeer0.org2.com)中成功安装了链代码。

当我从peer0.org1.com 使用 putState(key,value) 调用链代码时,我能够提交更改,但是当我从 peer0.org2.com 调用相同的链代码时,putstate(key, value) 失败并出现背书错误。

【问题讨论】:

    标签: hyperledger-fabric hyperledger blockchain


    【解决方案1】:

    这可能是因为您在安装链码时没有在背书策略中包含peer0.org2.com。 例如:在链码安装步骤中包含 OR/AND ('ORG1MSP.member','ORG2MSP.member')

    希望能解决问题

    【讨论】:

      猜你喜欢
      • 2019-06-22
      • 2018-01-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多