distributed-compliance-ledger icon indicating copy to clipboard operation
distributed-compliance-ledger copied to clipboard

[General] Need to remove the possibility to send commands with duplicate parameters.

Open askolesov opened this issue 4 years ago • 0 comments

Severity: enhancement

Build info: 1b992833

Overview: Need to remove the possibility to send commands with duplicated parameters. For example, you can send one of the following commands and as a result, you do not get an error (command successfully is sent):

  • zblcli tx auth propose-add-account --address=cosmos1k3dyy5pg7xqw3xevz68tzr2l3ahl2y4jce67cc --pubkey=cosmospub1addwnpepq2cj7rnfv3mnwqapmu9hejpfz68e7v73j8fkuumy2ly0pryg7nxqxyk3fgq --pubkey=cosmospub1addwnpepqf5rrfasymwua6dcm69cwvpdgtuffteyl8qrhz7te7mejmecryydu26hnlm --roles=Vendor --from=alice;
  • zblcli tx auth propose-add-account --address=cosmos1k3dyy5pg7xqw3xevz68tzr2l3ahl2y4jce67cc --address=cosmos12u9laj032j49n05vkem5hkhpq0353mj7c8hax0 --pubkey=cosmospub1addwnpepq2cj7rnfv3mnwqapmu9hejpfz68e7v73j8fkuumy2ly0pryg7nxqxyk3fgq --roles=Vendor --from=alice;
  • zblcli tx auth propose-add-account --address=cosmos1k3dyy5pg7xqw3xevz68tzr2l3ahl2y4jce67cc --pubkey=cosmospub1addwnpepq2cj7rnfv3mnwqapmu9hejpfz68e7v73j8fkuumy2ly0pryg7nxqxyk3fgq --roles=Vendor --from=alice --roles=TestHouse;
  • zblcli tx modelinfo add-model --vid=3499 --pid=35634 --cid=34 --name="1" --description="1" --sku=1 --firmware-version=1 --hardware-version=1 --tis-or-trp-testing-completed=false --from=julia-vendor --cid=432;
  • zblcli tx modelinfo add-model --vid=3499 --pid=35634 --cid=34 --name="1" --description="1" --sku=1 --firmware-version=1 --hardware-version=1 --tis-or-trp-testing-completed=false --from=julia-vendor --cid=432 --vid=234 --pid=9909 --vid=203;
  • etc.

By @julia-aksyanova

askolesov avatar Sep 07 '20 09:09 askolesov