[英]How can i fix this error? DiscoveryService: basic error: failed constructing descriptor for chaincodes:<name:"basic"
I'm at my final configuration step of my HF network.我正处于 HF 网络的最后配置步骤。 After I enroll an admin and an user, i have this error when i try to execute my class "invoke.js" (node invoke.js).注册管理员和用户后,当我尝试执行我的类“invoke.js”(节点invoke.js)时出现此错误。 The error is:错误是:
error: [DiscoveryService]: send[basic] - Channel:examplechannel received discovery error:failed constructing descriptor for chaincodes:<name:"basic" > Failed to submit transaction: Error: DiscoveryService: basic error: failed constructing descriptor for chaincodes:<name:"basic" >错误:[DiscoveryService]:send[basic] - 频道:examplechannel 收到发现错误:为链码构造描述符失败:<name:"basic" > 提交事务失败:错误:DiscoveryService:基本错误:为链码构造描述符失败:<名称:“基本”>
The chaincode's name is 'basic' and the name of the channel is 'examplechannel'.链码的名称是“basic”,通道的名称是“examplechannel”。
This error can come if wrong chaincode name is used with invoke.如果调用时使用了错误的链代码名称,则可能会出现此错误。 Make sure chaincode with name "basic" is deployed to the "examplechannel" before invoke.确保在调用之前将名为“basic”的链代码部署到“examplechannel”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.