0 votes
1 view
in Blockchain by (7k 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.5k points)

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

Refer https://github.com/IBM-Blockchain/ibm-blockchain-issues/issues/20 to gain more insights on the subject. 

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


Categories

...