[documentation] Bash tutorial, transferring assets, access rights and account auth #469
Labels
E-examples
Examples in the form of code snippets or word problems
I-client
Documentation specific to Iroha clients
T-cli
CLI documentation
Documentation URL(s)
Bash guide: transferring assets
Description
Sungod reported an issue with our current documentation: the Bash guide can't be finished, and step 6, "transferring assets", is the reason.
./iroha_client_cli account grant --id "mad_hatter@looking_glass" --permission permission_token.json
The error he sees in the logs is:
The signer does not own the asset specified in the permission token
.Repeating the attempt causes the same error no matter how often he tries it.
Log contents
The configuration file is not outdated and was previously copied from
configs/client_cli/config.json
.Sungod noted that even if steps are completed successfully, some errors appear in Compose logs:
I was told that such errors sometimes happen in the Sumeragi consensus algorithm by @mversic.
The most probable cause is the delayed packet from the previous round that reaches the node after a change. However, it does not affect the function of the Sumeragi consensus algorithm.
As @mversic suggested, the account id in the config file should apply to the
mad_hatter@looking_glass
instead ofalice@wonderland
, so I've altered the config by replacing theACCOUNT_ID
:There lies a problem: we have a public and private key assigned to the
mad_hatter@looking_glass
account, and I don't know where those are located. Usingcargo run --bin kagami -- crypto
did not help because some keys are generated beforehand.I also need clarification about the whole situation with the accounts here.
Registering an account
" section, possibly with a lost private one.Your suggestions
We'll have to alter the tutorial right after this is fixed.
Who can help?
@mversic @appetrosyan @outoftardis
The text was updated successfully, but these errors were encountered: