cello
cello copied to clipboard
Error While uploading Chaincode
Error While uploading chain code package
Expected Behavior
Should Upload the chain code package and appear in the list of chaincodes
Current Behavior
I am not able to upload more than 1MB size, due to the Nginx default client body size, I have changed it and rehosted the docker
After which, it is throwing not found issue.
I have checked the code, and there is a URL and Payload mismatch
Dashboard is calling
POST api/v1/chaincode/package
the API path in api_engine
POST api/v1/chaincodes/chaincodeRepo
Dashboard Payload
{chaincodeRepo: "file binary ", description:""}
Expected Payload
{file: "binary", description:""}
After correcting it is still throwing errors.
I am not sending a description at all but still, it is throwing the same error
Possible Solution
Steps to Reproduce
Creating Chain code