cosmos-sdk icon indicating copy to clipboard operation
cosmos-sdk copied to clipboard

[Bug]: genesis_file parameter of config.toml is ignored on `start` cmd

Open mikluke opened this issue 4 months ago • 0 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

What happened?

genesis_file parameter of config.toml file is ignored on starting node. If genesis is not placed in default configs/genesis.json location there is a panic.

The bug was created here in #15303

Also start cmd doesn't have chain-id parameter(and it shouldn't), so there is no easy and correct workaround except placing genesis in the default place.

Cosmos SDK Version

0.50

How to reproduce?

Just move genesis.json to any different place and set genesis_file parameter correctly. After start a node and boom - panic.

mikluke avatar Oct 16 '24 11:10 mikluke