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

fix: load genesis path from config when executue newApp #1140

Open
4 tasks
SunSet0418 opened this issue Mar 16, 2024 · 0 comments
Open
4 tasks

fix: load genesis path from config when executue newApp #1140

SunSet0418 opened this issue Mar 16, 2024 · 0 comments

Comments

@SunSet0418
Copy link

SunSet0418 commented Mar 16, 2024

Summary of Bug

There is a problem in the process of loading ChainID from genesis in newApp.

Version

after v10

Steps to Reproduce

  1. Build the after v10 binary.
  2. Move genesis.json from the default genesis path, config/genesis.json, to a random path.
  3. In config/config.toml, modify the genesis_file path to a random path where you moved genesis.json.
  4. When you run gaiad start, an error occurs saying that genesis.json cannot be found in config/genesis.json (default path), not in the genesis_file path of the configuration file.

Screenshots

Additional context

ref https://github.com/Stride-Labs/stride/pull/765/files#diff-077a894e9abf8c78345c15241797043740704906b66877a01beea7dc417be647R306


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
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

Successfully merging a pull request may close this issue.

1 participant