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

I am following the Hyperledger tutorial Youtube Link and the instructor modifies a sample contract. However with the current version of Hyperledger fabric playground which can be accessed online, there is no mention of state after entering the accountTransfer function. This leads to an error as shown below:

Hyperledger Composer Playground ErrorHow to solve the same? I have tried searching for answers but I couldnt find any which addresses this specific issue.

1 Answer

0 votes
by (14.4k points)

From what I understand, there are two main problems in your model: 

  1. transactionID is already reserved. Therefore you do not have to define it. Transaction IDs are returned when a transaction is submitted)
  2. Unlike participants and assets, you are not required to use 'identified by' in the definition of your transaction. 
Lastly, the reason behind the out-of-context 't:' error is an outstanding Github issue (a different kind of problem producing the error, but the same error results nonetheless). 
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

29.3k questions

30.6k answers


104k users

Browse Categories