-1

I am trying to deploy a this custom go chaincode on a fabric sample test-network it fails at getMSPID and gives

undefined: msp.DeserializeIdentity

while running the command

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

Here is my github link for folder structure.The chaincode is present here I am using Linux Mint 21.1, Docker version 24.0.5, Go version 1.18beta

  • Please read [Why should I not upload images of code/data/errors?](https://meta.stackoverflow.com/q/285551/354577) (And _especially_ photos of screens.) Instead, format code as a [code block]. The easiest way to do this is to paste the code as text directly into your question, then select it and click the code block button. – ChrisGPT was on strike Sep 01 '23 at 20:02
  • Do the packaging , installing, approving and commiting step by step. Follow this tutorial : https://hyperledger-fabric.readthedocs.io/en/release-2.5/deploy_chaincode.html – K327 Sep 01 '23 at 22:04
  • Yes @K327 tried the above steps got ```Error: failed to endorse chaincode install: rpc error: code = Unknown desc = error validating proposal: access denied: channel [] creator org unknown, creator is malformed``` – Vishnu Ezhuthachan Sep 02 '23 at 04:49
  • @VishnuEzhuthachan please add the commands you used with args to your question. Also, please mention any change in policies and msp definition you might have made in fabric test net. It might make your question long, but this information is really needed to solve the issue.. – K327 Sep 02 '23 at 17:42

0 Answers0