0

I wanted to purge all chains, a relay chain with 3 validators and 2 parachains with 1 collator per each, so I removed all of their DB folders by using rm -rf command. E.g ;

rm -rf /tmp/parachain
rm -rf /tmp/relay
rm -rf /tmp/relay-bob
rm -rf /tmp/relay-charlie

But when I re-ran the validators, I could see the chain state was not initialized yet. Why did it happen?

1 Answer 1

0

How did you purge the DB?

Did you stop all nodes before the purge?

I guess you:

  1. stop relay
  2. purge relay
  3. restart relay (it will sync the data from the running chain)
  4. stop relay-bob
  5. purge relay-bob
  6. restart relay-bob (it will sync the data from the running chain)
2
  • Thanks. it worked.
    – TinyDev
    Commented Nov 3, 2022 at 6:33
  • So, please mark this as the answer.
    – AurevoirXavier
    Commented Nov 3, 2022 at 7:23

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.