Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Can't use subcommands (ex: wallet) as permission when pushing action with cleos #8947

Closed

Description

@DenisCarriere

Issue using account names that are the same as commands or subcommands (ex: -p wallet) as permission when pushing action with cleos

Seems like there's a few command & subcommands which can't be used as account permission.

  • -p wallet
  • -p create
  • -p convert
  • -p set
  • -p get
  • -p transfer
  • -p net
  • -p sign
  • -p multisig
  • -p wrap
  • -p system
$ cleos push action hello hi '["foobar"]' -p wallet

Error message

ERROR: RequiredError: Subcommand required
Interact with local wallet
Usage: cleos wallet SUBCOMMAND

Subcommands:
  create                      Create a new wallet locally
  open                        Open an existing wallet
  lock                        Lock wallet
  lock_all                    Lock all unlocked wallets
  unlock                      Unlock wallet
  import                      Import private key into wallet
  remove_key                  Remove key from wallet
  create_key                  Create private key within wallet
  list                        List opened wallets, * = unlocked
  keys                        List of public keys from all unlocked wallets.
  private_keys                List of private keys from an unlocked wallet in wif or PVT_R1 format.
  stop                        Stop keosd.

Activity

  1. added a commit that references this issue on Apr 16, 2020
    7fec997
  2. added 2 commits that reference this issue on Apr 27, 2020
    ebf90cf
    09a67e1
  3. revl commented on Apr 28, 2020

    @revl
    Contributor

    The fix is in develop. It may or may not land in 2.0.

  4. revl commented on Apr 28, 2020

    @revl
    Contributor

    It was merged into 2.0 as well.

  5. DenisCarriere commented on Apr 29, 2020

    @DenisCarriere
    ContributorAuthor

    Great thanks 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions