I have done the iroha configuration and launched the iroha daemon. I created a new account using following command,
iroha-cli --new_account --account_name user1@test
I'm able to interface with iroha-cli but not able to create any transaction or query, even I'm not able to get the Account Information.
Choose what to do:
1. New transaction (tx)
2. New query (qry)
3. New transaction status request (st)
> : 2
Choose query:
1. Get all permissions related to role (get_role_perm)
2. Get Transactions by transactions' hashes (get_tx)
3. Get information about asset (get_ast_info)
4. Get Account's Transactions (get_acc_tx)
5. Get Account's Asset Transactions (get_acc_ast_tx)
6. Get all current roles in the system (get_roles)
7. Get Account's Signatories (get_acc_sign)
8. Get Account's Assets (get_acc_ast)
9. Get Account Information (get_acc)
0. Back (b)
> : 9
Requested account Id: user1@test
Query is formed. Choose what to do:
1. Send to Iroha peer (send)
2. Save as json file (save)
0. Back (b)
> : 1
Peer address (0.0.0.0):
Peer port (50051):
[2019-02-04 09:00:34.748141999][th:185][error] QueryResponseHandler Query is stateful invalid
--------------------
I added the account public ID in genesis block and restarted the daemon but still getting same error, Please any one suggest me the correct approach, thanks in advance.