Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(D-Day) Governance systems (AH, Collectives) can trigger the force_set_current_code functionality for rescue purposes #7591

Open
5 tasks
bkontur opened this issue Feb 17, 2025 · 0 comments

Comments

@bkontur
Copy link
Contributor

bkontur commented Feb 17, 2025

Relates to: #5588 (comment)

Context

As part of the D-Day governance solution, after AHM, we want to ensure the ability to rescue stalled parachains.

Currently, parachain rescue is performed using the Paras::force_set_current_code(para_id, new_code) call directly on the relay chain. However, with AHM, governance will be moved to AssetHub, making force_set_current_code quite expensive. As an alternative, a pre-authorized code hash feature has been proposed: #7574.

Also we need this: #78

Solution

  • 1. Setup Collectives track or whatever to issue pre-authorized code hash on the relaychain
  • 2. Ensure AssetHub governance can issue pre-authorized code hash on the relaychain

TODO

@bkontur bkontur added this to AHM Feb 14, 2025
@bkontur bkontur converted this from a draft issue Feb 17, 2025
@bkontur bkontur moved this to In Progress in @bkontur's board Feb 25, 2025
@bkontur bkontur moved this to In progress in AHM Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Status: In progress
Development

No branches or pull requests

2 participants
@bkontur and others