Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make-genesis.sh broken error handling on too short password #7

Open
PerMildner opened this issue Nov 5, 2019 · 0 comments
Open

make-genesis.sh broken error handling on too short password #7

PerMildner opened this issue Nov 5, 2019 · 0 comments

Comments

@PerMildner
Copy link

Entering a too short password gives an error (OK) but then seems to continue in a bad state instead of aborting:

6584a13

-bash$ make install
go install ...
go install ...
-bash$ PATH="$PATH:$HOME/go/bin"
-bash$ ./make-genesis.sh 
{...}
Enter a passphrase to encrypt your key to disk: <<entered a 4 character password>>
ERROR: password must be at least 8 characters
ERROR: Key dex-demo not found
ERROR: accepts 2 arg(s), received 1
/Users/perm/.dexcli/config/config.toml does not exist
configuration saved to /Users/perm/.dexcli/config/config.toml
configuration saved to /Users/perm/.dexcli/config/config.toml
configuration saved to /Users/perm/.dexcli/config/config.toml
configuration saved to /Users/perm/.dexcli/config/config.toml
ERROR: Key dex-demo not found
Collecting genesis txs...
ERROR: open /Users/perm/.dexd/config/gentx: no such file or directory
Validating genesis file...
validating genesis file at /Users/perm/.dexd/config/genesis.json
File at /Users/perm/.dexd/config/genesis.json is a valid genesis file
-bash$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant