You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
Repository navigation
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
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
Upgrade CLI11 to 1.9.0
Upgrade CLI11 to 1.9.0
Upgrade CLI11 to 1.9.0
revl commentedon Apr 28, 2020
The fix is in
develop. It may or may not land in 2.0.revl commentedon Apr 28, 2020
It was merged into 2.0 as well.
DenisCarriere commentedon Apr 29, 2020
Great thanks 🙏