Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Remove unused parameter from Iroha CLI #1713

Merged
merged 4 commits into from
Sep 18, 2018

Conversation

igor-egorov
Copy link
Contributor

@igor-egorov igor-egorov commented Sep 7, 2018

Signed-off-by: Igor Egorov igor@soramitsu.co.jp

Description of the Change

Recently the list of parameters of AddAssetQuantity command was changed (AccountId field was removed).
Iroha CLI was not completely updated to address the change.

UPD
It turned out that SubtractAssetQuantity command was not implemented at all.
This pr also adds its implementation to Iroha-cli.

Benefits

Now it is possible to issue AddAssetQuantity via Iroha CLI again.

Possible Drawbacks

None

Usage Examples or Tests

  • build iroha-cli
  • try to create a tx with AddAssetQuantity command
  • save it to file
  • check that there is no account_id field as command parameter and user input takes its legal places (values were assigned to proper fields)

  • or you can run iroha and send such tx to the running instance
  • there should be no problems with committing it

Igor Egorov added 2 commits September 7, 2018 19:39
Signed-off-by: Igor Egorov <igor@soramitsu.co.jp>
Signed-off-by: Igor Egorov <igor@soramitsu.co.jp>
@igor-egorov igor-egorov added needs-review pr awaits review from maintainers cli command line interface labels Sep 7, 2018
Igor Egorov added 2 commits September 18, 2018 10:42
…add-ast-qty

Signed-off-by: Igor Egorov <igor@soramitsu.co.jp>
Signed-off-by: Igor Egorov <igor@soramitsu.co.jp>
@igor-egorov igor-egorov merged commit f3eb3c5 into dev Sep 18, 2018
@igor-egorov igor-egorov deleted the feature/fix-iroha-cli-add-ast-qty branch September 18, 2018 10:27
bakhtin pushed a commit that referenced this pull request Nov 2, 2018
Signed-off-by: Igor Egorov <igor@soramitsu.co.jp>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cli command line interface needs-review pr awaits review from maintainers
Development

Successfully merging this pull request may close these issues.

4 participants