【问题标题】:Hyperledger Composer - Instantiation Chaincode ErrorHyperledger Composer - 实例化链码错误
【发布时间】:2018-09-06 21:34:48
【问题描述】:

我目前正在使用 HL Composer [v0.18.2] 以便能够与 IBM 区块链平台(入门计划)进行交互在 IBM Cloud 上。
我执行了以下步骤:

  1. 创建了 4 个组织,每个组织有 1 个同行
  2. 创建了一个新频道
  3. 加入频道,创建 PeerAdmin 身份,更新证书并同步频道(针对每个组织)
  4. 为每个组织的每个对等方安装运行时

但是当我尝试使用"composer network start ...." 启动网络时,我收到了这个错误:

Starting business network definition. This may take a minute...
Error: Error trying to instantiate composer runtime. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: 2 UNKNOWN: chaincode error (status: 500, message: instantiation policy violation: signature set did not satisfy policy)

有人知道这个问题吗?
谢谢

【问题讨论】:

标签: hyperledger-fabric hyperledger hyperledger-composer ibm-blockchain


【解决方案1】:

Starter Plan 仅与 Composer v0.18.1 兼容

首先,完全卸载 Composer

npm uninstall -g composer-cli

然后,安装 Composer v0.18.1

npm install -g composer-cli@0.18.1

现在,像以前一样采取部署 .bna 的步骤。如果问题仍然存在,请确保您拥有最新版本的 Node (v8.10.0) 和 npm (5.6.0)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-09-27
    • 2019-11-11
    相关资源
    最近更新 更多