Referenda

Open and closed proposals

Polkadot
#136ExecutedBig TipperProtocol & Governance

Create & implement RFC14 - Improve locking mechanism for parachains

Proposer
Requested
950 DOT
Ended
5 Sept 2023
Comments
0
BeneficiaryBryan Chen

AI Digest

Category Protocol & Governance
  • The proposer authored RFC14, which the Fellowship accepted, and completed its implementation.
  • RFC14 changes parachain locks so managers can self-service without root-track governance action.
  • Parachains lock only when managers explicitly lock them or a parachain block is produced successfully.
  • The changes support rescuing invalid wasm or genesis and performing lease renewals without a running parachain.

Description

Written by the proposer, as published on Subsquare

I have proposed RFC14 - Improve locking mechanism for parachains and it has been accepted by the Fellowship. I have also completed the implementation for RFC14.

Summary for RFC 14:

This RFC proposes a set of changes to the parachain lock mechanism. The goal is to allow a parachain manager to self-service the parachain without root track governance action.

This is achieved by remove existing lock conditions and only lock a parachain when:

— A parachain manager explicitly lock the parachain

— OR a parachain block is produced successfully

Motivation for RFC14

The manager of a parachain has permission to manage the parachain when the parachain is unlocked. Parachains are by default locked when onboarded to a slot. This requires the parachain wasm/genesis must be valid, otherwise a root track governance action on relaychain is required to update the parachain.

The current reliance on root track governance actions for managing parachains can be time-consuming and burdensome. This RFC aims to address this technical difficulty by allowing parachain managers to take self-service actions, rather than relying on general public voting.

The key scenarios this RFC seeks to improve are:

1. Rescue a parachain with invalid wasm/genesis.

While we have various resources and templates to build a new parachain, it is still not a trivial task. It is very easy to make a mistake and resulting an invalid wasm/genesis. With lack of tools to help detect those issues1, it is very likely that the issues are only discovered after the parachain is onboarded on a slot. In this case, the parachain is locked and the parachain team has to go through a lengthy governance process to rescue the parachain.

2. Perform lease renewal for an existing parachain.

One way to perform lease renewal for a parachain is by doing a least swap with another parachain with a longer lease. This requires the other parachain must be operational and able to perform XCM transact call into relaychain to dispatch the swap call. Combined with the overhead of setting up a new parachain, this is an time consuming and expensive process. Ideally, the parachain manager should be able to perform the lease swap call without having a running parachain2.

Discussion

0 comments from OpenShore and Subsquare; spam hidden

Markdown
Signed with your wallet. No fee, nothing on-chain.
No comments yet.