Skip to content

show_node_id should return error if TM home is not initialized #1393

@kidinamoto01

Description

@kidinamoto01

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
FEATURE REQUEST

Tendermint version (use tendermint version or git rev-parse --verify HEAD if installed from source):

v0.17.1
ABCI app (name for built-in, URL for self-written if it's publicly available):

Merkleeyes version (use git rev-parse --verify HEAD, skip if you don't use it):

Environment:

  • OS (e.g. from /etc/os-release): macOs
  • Install tools: dep
  • Others:

What happened:
when I set --home to some non-existent folder, node id is still displayed on the screen.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

tendermint show_node_id --home=~/.gaia4

Logs (you can paste a part showing an error or attach the whole file):

/dump_consensus_state output for consensus bugs

Anything else do we need to know:
show node idcommand should give hint on wrong home path rather just generate a random key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T:bugType Bug (Confirmed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions