Skip to content

Split sub-command run to init and run #1345

@chaoticlonghair

Description

@chaoticlonghair

Contact Details

No response

Propose-a-new-feature

Since #1307, the non-consensus configuration and consensus configuration are detached.

Currently, there is only one sub-command run, when Axon client runs, it has to check whether it's the first run.

  • Yes, then it have to read the configuration to initialize the chain.
  • Otherwise, then it have to check if user-provided configuration is the same as the chain saved in storage.

If split sub-command run to init and run, the above checks can be ignore.

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