执行以下指令时报错
./network.sh deployCC
Error: proposal failed with status: 500 - channel 'mychannel' not found
Chaincode definition approved on peer0.org1 on channel 'mychannel' failed
Deploying chaincode failed
原因是没有在创建通道的情况下部署链码
执行以下指令创建通道
./network.sh createChannel
再次部署basic
链码
./network.sh deployCC
成功解决Chaincode definition approved on peer0.org1 on channel 'mychannel' failed Deploying chaincode fail
的问题
欢迎小伙伴的讨论,若有问题请在评论区评论或私信,谢谢你。