Explore Courses Blog Tutorials Interview Questions
0 votes
in Blockchain by (4.1k points)

I am trying to query the chaincode example 02 that I have deployed in the local blockchain installation.

I have tried both inside and outside vagrant setup as described by hyperledger-fabric docs.

The chaincode go file build successfully and the deployed seems to word.

The invoke function generates the transaction hash, however as soon as I query the state of variable A using the chaincode hash id, it always indicates an error indicating that the chaincode is not deployed successfully.

1 Answer

0 votes
by (14.4k points)
edited by

You have this issue because there might be some time gap between a chaincode invocation and the subsequent query. 

Refer to gain more insights on the subject. 

There is a lot more to learn than this. Enroll now in Blockchain Online Course to learn more.

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

30.5k questions

32.6k answers


108k users

Browse Categories