After successfully installing the chaincode in dev-mode When I try to instantiate/upgrade my chaincode this error is shown-
Error endorsing chaincode: rpc error: code = Unknown desc = Failed to init chaincode(handler not found for chaincode mycc:1)
These are the commands I used-
Install command(no error in execution)-
peer chaincode install -p chaincodedev/chaincode/chaincode_example02 -n mycc -v 1
Instantiate command-
peer chaincode instantiate -n mycc -v 1 -c '{"Args":["init","a","100","b","200"]}' -C myc
Upgrade command-
peer chaincode upgrade -n mycc -v 2 -c '{"Args":["init","a","100","b","200"]}' -C myc