{"action":"closed","issue":{"url":"https://api.github.com/repos/IBM-Blockchain/ibm-blockchain-issues/issues/42","repository_url":"https://api.github.com/repos/IBM-Blockchain/ibm-blockchain-issues","labels_url":"https://api.github.com/repos/IBM-Blockchain/ibm-blockchain-issues/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/IBM-Blockchain/ibm-blockchain-issues/issues/42/comments","events_url":"https://api.github.com/repos/IBM-Blockchain/ibm-blockchain-issues/issues/42/events","html_url":"https://github.com/IBM-Blockchain/ibm-blockchain-issues/issues/42","id":178659316,"number":42,"title":"Deploying chaincode from github to IBM Blockchain is NOT WORKING.","user":{"login":"TarantulaTechnology","id":5163011,"avatar_url":"https://avatars0.githubusercontent.com/u/5163011?v=3","gravatar_id":"","url":"https://api.github.com/users/TarantulaTechnology","html_url":"https://github.com/TarantulaTechnology","followers_url":"https://api.github.com/users/TarantulaTechnology/followers","following_url":"https://api.github.com/users/TarantulaTechnology/following{/other_user}","gists_url":"https://api.github.com/users/TarantulaTechnology/gists{/gist_id}","starred_url":"https://api.github.com/users/TarantulaTechnology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TarantulaTechnology/subscriptions","organizations_url":"https://api.github.com/users/TarantulaTechnology/orgs","repos_url":"https://api.github.com/users/TarantulaTechnology/repos","events_url":"https://api.github.com/users/TarantulaTechnology/events{/privacy}","received_events_url":"https://api.github.com/users/TarantulaTechnology/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-09-22T16:32:58Z","updated_at":"2017-03-23T13:08:51Z","closed_at":"2017-03-23T13:08:51Z","body":"BMX IBM Blockchain is BROKE for developers who want to deploy their own or demo code from github as IBM documentation describes.\n\nThe Demo Chaincode Example02 works only from the UI. You cannot deploy it from github. The UI is confusing, because the link to the source code being deployed goes to v0.6 code (shim.ChaincodeStubInterface). \n\nIf you copy the source code to your own github repo and try to deploy it you get an error complaining about the shim.ChaincodeStubInterface (v0.6 code). \n\nIf you change the code to v0.5 (shim.ChaincodeStub), it indicates a successful deploy, returning a chaincode ID. But upon examination of the network tab it is clear it did not deploy correctly, it never appears and cannot be found as indicated by a query that returns an error message hinting this. \n\nSo, clearly something is BROKE in IBM Blockchain on BMX. \n\nAgain, you can only deploy and operate the Demo Chaincode. You cannot deploy your own code from github, even though it is a perfect copy of the chaincode IBM indicates is being deployed.\n\nAnother point of confusion is the code level deployed and supported on IBM Blockchain. \n\nIs it Fabric v0.5 (shim.ChaincodeStub) or Fabric v0.6 (shim.ChaincodeStubInterface)? \n\nBecause only code compiled to v0.5 (shim.ChaincodeStub) is consumed without an error indication while code compiled to v0.6 is consumed, but returns an ERROR indicating it does not like the v0.6 code (shim.ChaincodeStubInterface). \n\nI highly suggest IBM NOT rely on canned tests baked into the UI--Demo Chaincode. Instead rely on what a developer does: compile chaincode, push it to your github repo, and deploy it using the URL to your github repo. \n\nThe inability of developers to deploy their own code makes BMX IBM Blockchain at this time USELESS to developers and only a very simple sales demo!\n"}}
{"actor":{"display_login":"dhyey20"}}