简体   繁体   中英

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. After I enroll an admin and an user, i have this error when i try to execute my class "invoke.js" (node 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" >

The chaincode's name is 'basic' and the name of the channel is '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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM