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

Integrate genesis-generator into axon. #1346

Closed
yangby-cryptape opened this issue Aug 22, 2023 · 0 comments · Fixed by #1402
Closed

Integrate genesis-generator into axon. #1346

yangby-cryptape opened this issue Aug 22, 2023 · 0 comments · Fixed by #1402
Assignees

Comments

@yangby-cryptape
Copy link
Collaborator

Contact Details

No response

Propose-a-new-feature

After #1345, there is a sub-command init to initialize the chain.

So, the genesis-generator could be integrated into the sub-command init.

When executes sub-command init:

  • Convert the parameters to the genesis state, and calculate the genesis block.
  • Save the genesis state and the genesis block into storage.

PROS:

  • No more unreadable intermediate files.

    All configurations could be readable.

  • Simplify steps.

Alternatives you've considered

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant