Skip to content

Conversation

@mnaamani
Copy link
Member

@mnaamani mnaamani commented Aug 26, 2020

Exporting state from nicaea, members, forum state and versioned store to be imported at genesis in a new chain.
There will be a corresponding set of PRs to monorepo that imports json produced from these scripts:

To test, run a nicaea local node:

yarn
node lib/export_members > members.json
node lib/export_forum > forum.json
node lib/export_versioned_store > content.json

The path to each output file can be used as an argument to the chain-spec-builder command updated in Joystream/joystream#1190

Copy link

@shamil-gadelshin shamil-gadelshin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend separating the exporting tool from the api-examples. A new repository would be a better choice.
Also, please make the API URL configurable.

@mnaamani
Copy link
Member Author

mnaamani commented Sep 3, 2020

code moved to new repo: Joystream/runtime-state-export-tools#1

@mnaamani mnaamani closed this Sep 3, 2020
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 this pull request may close these issues.

2 participants