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

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

Closed
1 task done
mikluke opened this issue Oct 16, 2024 · 2 comments · Fixed by #22564
Closed
1 task done

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

mikluke opened this issue Oct 16, 2024 · 2 comments · Fixed by #22564
Assignees
Labels

Comments

@mikluke
Copy link

mikluke commented Oct 16, 2024

Is there an existing issue for this?

  • 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.

@margarita-markova
Copy link

@julienrbrt which version will have this fix? v0.52.0?

@julienrbrt
Copy link
Member

@julienrbrt which version will have this fix? v0.52.0?

Yes and v0.50.11 (coming soonish)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🥳 Done
Development

Successfully merging a pull request may close this issue.

3 participants