fabric-samples icon indicating copy to clipboard operation
fabric-samples copied to clipboard

Chaincode definition approved on peer0.org1 on channel 'mychannel' failed

Open mlph-sreyes opened this issue 2 years ago • 1 comments

Hi, I am trying to run the test-network by following all the set-up instructions and running instructions here

I also believe I have installed the necessary packages:

  • curl
  • npm
  • python2
  • docker
  •  docker-compose
  • git
  • golang
  • jq

All the docker containers are also fully running.

image

but it whenever I try to deploy a chaincode I always experience an issue, especaially on this specific command on the running instructions guide.

./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go

Please see the error message: image

I am already stuck here for days, I Appreciate any help or response. Thank you

mlph-sreyes avatar Nov 18 '22 13:11 mlph-sreyes

Can you post the peer logs? Use docker logs <peer_container> command to get the peer logs.

denyeart avatar Nov 23 '22 13:11 denyeart