Is there a way to deploy an update of the chaincode without changing the chaincodeid? If I deploy changes in code, hyperledger generates new hash as chaincodeid and I loose the data created by the app.
Thanks in advance.
Sorry, more info I'm using versión 0.6 with IBM docker images https://github.com/IBM-Blockchain/fabric-images I was also using [email protected] in windows, but if I suscribe to the event hub inside an express application, it dies without any messaging, so now I'm using fabric starter kit with [email protected] (but that's another question)
And more info In https://github.com/hyperledger-archives/fabric/blob/master/docs/Setup/Chaincode-setup.md it is shown how to deploy manually the chaincode in development mode using --peer-chaincodedev and using -n to provide a name name instead of a path; but that is only in development mode.