Skip to content

Full fork config dump RPC call #17752

@cjjdespres

Description

@cjjdespres

Once the sub-issues have been resolved, the rest of #17735 can be rescued - the RPC command really just needs to prompt the daemon to dump a full hard fork config in a specified directory, in either the "legacy" format (current account format) or the hard fork account format.

Requirements here (since @dkijania had some input):

  • Want a "full" output mode (perhaps the default) that can output the config in both formats ("legacy", meaning current compatible, and the hard fork format), and also include the precomputed block json for the block used to generate the config. This will be useful for testing.
  • Potentially the ability to export just one or the other of the formats (only legacy or only compatible). Depends on the needs of the hard fork package and how fast the full export is.

This could be invoked like

mina advanced generate-hardfork-config ...

with options to specify the output directories/files/formats as necessary.

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions