Welcome to the Linux Foundation Forum!

LAB 8: chaincode definition for 'sacc' exists, but chaincode is not installed

Stuck at page 8 Invoke and Query Chaincode

`bash-5.0# peer chaincode invoke -o orderer.example.com:7050 --tls --cafile $ORDERER_TLS_CA -C allarewelcome -n sacc --peerAddresses $CORE_PEER_ADDRESS --tlsRootCertFiles $CORE_PEER_TLS_ROOTCERT_FILE --peerAddresses peer0.org1.example.com:7051 --tlsRootCertFiles /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt -c '{"function":"set","args":["key1", "value1"]}' --waitForEvent

Error: endorsement failure during invoke. response: status:500 message:"make sure the chaincode sacc has been successfully defined on channel allarewelcome and try again: chaincode definition for 'sacc' exists, but chaincode is not installed" `

Comments

Categories

Upcoming Training