This repository was archived by the owner on Apr 22, 2025. It is now read-only.
This repository was archived by the owner on Apr 22, 2025. It is now read-only.
Cannot commit chaincode approve #240
Open
Description
I'm trying to use the fabric sdk to install a chaincode on my network.
The chaincode gets correctly packaged. I then approve it. which returns some weird thing:
System.out.printf("[approve] chaincodeId: %s, message: %s\n",
lifecycleApproveChaincodeDefinitionForMyOrgProposalResponse
.getChaincodeID(),
lifecycleApproveChaincodeDefinitionForMyOrgProposalResponse
.getMessage());
prints:
[approve] chaincodeId: ChaincodeID(_lifecycle::), message:
with status 200.
Then when I try to commit I get:
[commit] chaincodeId: ChaincodeID(_lifecycle::), message: failed to invoke backing implementation of 'CommitChaincodeDefinition': chaincode definition not agreed to by this org (Org1MSP)
I think there's some kind of issue with the install operation. I'm using version 2.2.2
Metadata
Metadata
Assignees
Labels
No labels