Skip to content

Integrate genesis-generator into axon. #1346

@chaoticlonghair

Description

@chaoticlonghair

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions