Closed Artem-G closed 7 years ago
The "/tree/v2.0" portion of the path to the chaincode could be part of the issue. There is a Stack Overflow post with a very similar issue that was resolved by removing part of the chaincode path. I would suggest first trying a chaincode path like https://github.com/Artem-G/learn-chaincode/start.
@altharp So true. Bluemix can't deploy from the branches! I put my code into 'master' and it went well Thanks
Here is the final
{
"jsonrpc": "2.0",
"method": "deploy",
"params": {
"type": 1,
"chaincodeID": {
"path": "https://github.com/Artem-G/learn-chaincode/start"
},
"ctorMsg": {
"function": "init",
"args": [
"hi there"
]
},
"secureContext": "user_type1_0"
},
"id": 1
}
I am following this tutorial https://console.ng.bluemix.net/docs/services/blockchain/ibmblockchain_tutorials.html
I have forked and commited Go code here: https://github.com/Artem-G/learn-chaincode/tree/v2.0/start
Why I get this error when I try to deploy?
This is the request:
Request URL https://84f1361fd5734a419ada2257818abece-vp0.us.blockchain.ibm.com:5003/chaincode