OCI runtime error when sending Hyperledger Fabric's chaincode instantiation request to peers

前端 未结 1 1154
一个人的身影
一个人的身影 2021-01-16 18:44

Using the Hyperledger Fabric Java SDK with GO chaincode, I\'m getting an error after trying to initiate my chaincode using channel.sendInstantiationProposal(instantiat

相关标签:
1条回答
  • 2021-01-16 19:38

    Turns out my chaincode used a dependency (scrypt in my case), which caused the build to fail. The code would pass its unit test and compile just fine, but it wouldn't run on peers because of this. You may want to install your go dependencies onto your ccenv (which is used to compile your chaincode), or in my case I ditched it in favor of Hyperledger Fabric 1.1's built-in encryption support.

    0 讨论(0)
提交回复
热议问题