Welcome to the new Linux Foundation Forum!

lab4 error: Error: could not assemble transaction, err proposal response was not successful, error

$ docker exec -it cli bash
[email protected]:/opt/gopath/src/github.com/hyperledger/fabric/peer# export CORE_PEER_LOCALMSPID=Org1MSP
[email protected]:/opt/gopath/src/github.com/hyperledger/fabric/peer# export CORE_PEER_ADDRESS=peer0.org1.example.com:7051
[email protected]:/opt/gopath/src/github.com/hyperledger/fabric/peer# export ORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]/msp
[email protected]:/opt/gopath/src/github.com/hyperledger/fabric/peer# peer chaincode instantiate -n ccForAll -v 1.0 -o \

orderer.example.com:7050 -C allarewelcome \
-c '{"Args":["Mach","50"]}'

2020-01-03 17:44:06.575 UTC [main] InitCmd -> WARN 001 CORE_LOGGING_LEVEL is no longer supported, please use the FABRIC_LOGGING_SPEC environment variable
2020-01-03 17:44:06.591 UTC [main] SetOrdererEnv -> WARN 002 CORE_LOGGING_LEVEL is no longer supported, please use the FABRIC_LOGGING_SPEC environment variable
2020-01-03 17:44:06.599 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 003 Using default escc
2020-01-03 17:44:06.600 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 004 Using default vscc
Error: could not assemble transaction, err proposal response was not successful, error code 500, msg cannot get package for chaincode (ccForAll:1.0)
[email protected]:/opt/gopath/src/github.com/hyperledger/fabric/peer#

Comments

  • kalesskaless Posts: 2

    Sorry, it was mistake from my end. I was missing the below step:
    peer chaincode install -n ccForAll -p github.com/sacc -v 1.0

Sign In or Register to comment.