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
appd tendermint show-... silently creates the home directory and generates a new node-id/validator info/private key if it does not exist. This leads to difficult-to-debug circumstances when run on a different machine or as a different user than the validator node you are attempting to query.
It would be crisper to fail with an error if appd init has not already been run for the home directory.
Version
v0.41.0
Steps to Reproduce
soil:golang michael$ ls -l /tmp/nonexistent
ls: /tmp/nonexistent: No such file or directory
soil:golang michael$ appd --home=/tmp/nonexistent tendermint show-validator
agoricvalconspub1zcjduepq2udl3q5whwppfg0pec546kqa0246fx285qem0hk0vg3ag2um3krqna85yu
soil:golang michael$ ls -l /tmp/nonexistent
total 0
drwx------ 4 michael wheel 128 Jan 29 16:20 config
drwx------ 2 michael wheel 64 Jan 29 16:20 data
soil:golang michael$
I would prefer to see:
soil:golang michael$ appd --home=/tmp/nonexistent tendermint show-validator
open /tmp/nonexistent/config/priv_validator_key.json: no such file or directory
soil:golang michael$
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Summary of Bug
appd tendermint show-...
silently creates the home directory and generates a new node-id/validator info/private key if it does not exist. This leads to difficult-to-debug circumstances when run on a different machine or as a different user than the validator node you are attempting to query.It would be crisper to fail with an error if
appd init
has not already been run for the home directory.Version
v0.41.0
Steps to Reproduce
I would prefer to see:
For Admin Use
The text was updated successfully, but these errors were encountered: