Open yeasy opened 8 years ago
@yeasy : deploy consists of two parts : create the image and start up and then call the Init method with supplied parameters. In "dev" mode, there is no image to create and start up as that part is done by the developer (in this case you probably issued ./chaincode_example02 from the command line on another window with CORE_CHAINCODE_ID_NAME env variable specifying the name). The deploy then would just do the "Init" part.
One thing. In "dev" mode, Deploy shoukd take "-n
The code should really check return error if we don't supply "-n" in "dev" mode. I can fix that .... or if you like, you can. Please let me know.
Thanks!
@joshhus , @nickgaski : this would be good to clarify in docs.
@muralisrini Thanks a lot for your reply! Yes, feel free to fix it. Agree with your clarification. And, could you help provide some detailed step to validate in the dev mode? I find the steps given are too simple to follow in the dev mode (And cannot understand why the consensus is disabled in hard code under the dev mode).
I'll take a look at this!
Use dev mode for chaincode, following the devnet example.
There is no response chaincode name string:
But when look at the block, there creates new block in the list.
Where can I get the returned chaincode name?
Thanks for any comments!