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
• 17,100 points
1,254 views

1 answer to this question.

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,400 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,370 points
1,069 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
2,510 views
+2 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 8, 2018 in Blockchain by Shashank
• 10,400 points
894 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP