-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to edit chaincode #1
Comments
I assume your talking about the code located here. The chaincode looks good! I suspect one of the parameters for configuring the chaincode in app.js is wrong. Could you please verify that your chaincode configuration looks like this: chaincode: { |
Yup, that's the code I'm talking about. the app.js does indeed look exactly like that, would there be anything else I'd need to add to it? From the logs I can see that the chaincode gets downloaded, unzipped and can read the files (I can see logs like thanks for the help by the way! Cheers, |
Hi Gari, I've tried using integers as well, but still the same problem. I doubt it is the chain code itself as simply using the exact chain code but from a different github gives me this error. Cheers,
|
Sorry I'm unsure if this is the correct place to ask this question. I've been having trouble changing the chaincode and re using it with the cp-web app on Bluemix. The error I constantly get is:
2016-04-12T09:11:38.312+1000[App/0]OUT[ibc-js] Deploying Chaincode - Starting
2016-04-12T09:11:39.356+1000[App/0]OUT! looks like a deploy error, holding off on the starting the socket
2016-04-12T09:11:39.356+1000[App/0]OUT[ibc-js] deploy - failure: 400
2016-04-12T09:11:39.357+1000[App/0]OUT details: { Error: 'Error getting chaincode package bytes: Error generating hashcode: Error getting code process done with error = exit status 1' } }
These are the steps I follow:
Download code
Make Change at line 288:
owner.Quantity = cp.Qty
toowner.Quantity = 100.0
upload code to a github and then replace the zip file within app.js to my new git
Any idea of what could trigger the error? If this is the wrong place I'll move the question to the cp-web application instead.
Cheers,
William
The text was updated successfully, but these errors were encountered: