3

Is it possible to use a snapshot of the relay chain to synchronize a Substrate-based parachain and run a parachain node, as the process of synchronizing the relay chain can take a significant amount of time?

2 Answers 2

3

Yes you can use snapshots, but I would recommend that you are using warp sync:

your-parachain -- --sync warp-sync

This will make the relay chain node use warp sync. This is much faster and should only take some minutes. We are also working on warp sync support for parachains right now. This will then make it possible to warp sync the parachain and the relay chain!

2
  • oh ok. But, how can I use a relay-chain snapshot to sync parachain? Jan 10, 2023 at 10:23
  • Like you use it for a normal relay chain node. parachain -- --base-path PATH_TO_THE_SNAPSHOT
    – bkchr
    Jan 10, 2023 at 10:48
1

Yes. It is possible. You can find snapshots here https://polkashots.io/

2

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.