Error in Chaincodes not getting picked up by ./startFabric.sh

0 votes

I am running Docker Toolbox on Windows. I have downloaded fabric samples from https://github.com/hyperledger/fabric-samples. Modified the fabcar chaincode. The first time I ran ./startFabric.sh to bring up the local blokchain network, the chaincode is getting picked up well and fine. 

Now I make further changes to fabcar chaincode. But,  my latest chaincode changes are not being picked up by the blockchain network. I still see old log messages and responses. 

 Please let me know what I am doing wrong.

Jul 31, 2018 in Blockchain by Perry
• 16,450 points
99 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

After changing chaincode in fabric-samples/chaincode/fabcar/go/fabcar.go (this is where you change the chaincode, I presume), you have to go build fabcar.go so that latest compiled code gets into the peer.

answered Jul 31, 2018 by Shashank
• 10,330 points

Related Questions In Blockchain

0 votes
1 answer

Getting error when i execute ./byfn.sh -m up command.

The error is caused because you're trying ...READ MORE

answered Jul 12, 2018 in Blockchain by slayer
• 29,040 points
116 views
0 votes
1 answer
0 votes
1 answer

Why am I not getting 100 ethers in my metamask account?

Sorry that you're having this problem. To ...READ MORE

answered Jun 14, 2018 in Blockchain by Christine
• 15,790 points
76 views
0 votes
1 answer
0 votes
1 answer
0 votes
3 answers
0 votes
1 answer
0 votes
1 answer
+1 vote
1 answer

Can a data be altered in a blockchain without changing its hash?

Yes, it should work. The authentication practice ...READ MORE

answered Apr 7, 2018 in Blockchain by Shashank
• 10,330 points
33 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.