2

I am trying to restart our network using data left by previous collators. How do I apply that data to start a new ( or the same ) network without losing data? I am looking for a solution similar polkashot for kusama.

2 Answers 2

1

Boot with --base-dir <PREVIOUS COLLATOR DATA PATH> or -d <PREVIOUS COLLATOR DATA PATH>.

0

Aside from pointing your node to use the db dir of your previous collator keep in mind that you can also use export-state subcommand to generate a chainspec based on that db state, and from there you can generate genesis wasm and genesis state if needed.

1
  • The export-state produces a chain specs that do not have your orignal collator set. How to get my orignal collator set back, as export-state produces a raw chain specs and we can not add our collator in this raw chain specs as we do in plain chain specs. Can I solve this issues without using "fork_of_substrate" Apr 16, 2023 at 18:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.