Intellipaat Back

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

I am following the Hyperledger tutorial 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 couldn't 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). 

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...