【问题标题】:Error while instantiating go chaincode on the new IBM Blockchain Platform在新的 IBM Blockchain Platform 上实例化 go 链代码时出错
【发布时间】:2019-08-27 13:51:48
【问题描述】:

我正在关注 IBM 官方文档here

在安装链码之前它工作正常。但是当我尝试实例化链码时,我收到以下错误。

An error occurred during instantiation.

grpc payload is empty: error starting container: error starting container: Post http://localhost:2375/build?t=dev-jdoe-track-1.0-a9bb38bb67b2784055e024f91d0ebc8515db909bfa46b1668e9c1b93832dbbad: Failed to generate platform-specific docker build: Error returned from build: 1 "Error attaching: configured logging driver does not support reading "

我正在用 Go 开发链代码,官方文档中提到新的 IBM Blockchain Platform (here) 支持 Go。

这里还有什么问题?

【问题讨论】:

  • Go 链码/智能合约在 IBM Blockchain Platform 上受支持。您是否提出了支持票?它是否在 VS Code 扩展上实例化 OK?你在哪里看到错误?你检查过日志吗?
  • 对不起,链码有错误-我修复了它,再次打包成.csd并能够成功实例化。
  • 现在我在通过 Node SDK 使用来自应用程序的私有数据集合调用链码时面临不同的错误。错误是 " Error: Failed disseminating 1 out of 3 private dissemination plans,.protos.Proposal " 。你能帮忙吗?
  • @Pool 当您的问题发生如此大的变化时 - 关闭(或自行回答)您的原始问题,然后打开一个新问题。仅供参考!

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


【解决方案1】:

正如 OP 所说:

抱歉,链码中有错误 - 我修复了它,再次打包到 .csd 中,并且能够成功实例化。

我以这种方式回答问题是因为在寻找同一个问题的答案时,我没有意识到链码问题可能会产生“听起来如此不同”的错误。如果我没有读到其他人以这种方式解决问题,我就不会找到答案。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-11-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多