10

I want to reset a parachain currently active on the rococo testnet. There is documentation on how to register a new parachain. But what do I need to do in order to restart an existing parachain? I assume some extrinsic (but which) must be submitted as root with the new genesis and wasm blob.

I am not concerned with keeping messages queues but I want to keep the parachain id.

2
  • Please clarify: do you need to reset the parachain or you are ok with deregistering and then registering the parachain again? The former unlike the latter preserves the para id and message queues.
    – pepyakin
    Feb 21, 2022 at 15:30
  • Clarification added. Feb 21, 2022 at 15:49

1 Answer 1

6

Paras module exposes two dispatchables to control this:

Using the relay-chain governance, you can call those functions to resubmit the code and genesis head for your registered para.

Refer to this question to see what is head data and how to obtain it: What is head data and how do I get it?

Currently there is no way to clear the message queues, if you care about that.

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.