我已经完成了 iroha 配置并启动了 iroha 守护进程。我使用以下命令创建了一个新帐户,
iroha-cli --new_account --account_name user1@test
我可以与 iroha-cli 交互,但无法创建任何交易或查询,即使我无法获取帐户信息。
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
--------------------
我在创世块中添加了帐户公共 ID 并重新启动了守护程序,但仍然出现相同的错误,请任何人建议我正确的方法,提前谢谢。