Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Runtime upgrade #59

Closed
bkchr opened this issue Feb 11, 2020 · 0 comments · Fixed by #70
Closed

Runtime upgrade #59

bkchr opened this issue Feb 11, 2020 · 0 comments · Fixed by #70

Comments

@bkchr
Copy link
Member

bkchr commented Feb 11, 2020

Substrate supports to upgrade the runtime from within the Blockchain. We need to implement some extended functionality to make the upgrade fit into the Polkadot model of upgrading Parachain runtimes, described here.

  • validate_block needs to check that :code is only altered when allowed (see the Polkadot issue for the requirements).
  • Provide a pallet in Cumulus that makes the process of registering an upgrade/checking if an upgrade is doable easy to use.
  • It would probably be nice to augment set_code etc to fail on applying, if the requirements are not allowed (instead of failing in validate_block). Users can for example send a proposal to upgrade the runtime, this should fail to dispatch if it does not follow the correct path.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant