Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

[WIP] Runtime Migration Tutorial #767

Closed
wants to merge 10 commits into from
Closed

Conversation

apopiak
Copy link
Contributor

@apopiak apopiak commented Nov 3, 2020

First draft for a runtime migration tutorial.

This is kind of blocked by the availability of paritytech/substrate#7208 and paritytech/substrate#7451 in a released Substrate version as I would like to use the pallet version as a storage guard.

aims to resolve #766


  • Are the audience and objective of the document clear? E.g. a document for developers that should teach them about transaction fees.
  • Is the writing:
    • Clear: No jargon.
    • Precise: No ambiguous meanings.
    • Concise: Free of superfluous detail.
  • Does it follow our style guide?
  • If this is a new page, does the PR include the appropriate infrastructure, e.g. adding the page to a sidebar?
  • Build the page ($ cd website && yarn start). Does it render properly? E.g. no funny lists or formatting.
  • Do links go to rustdocs or devhub articles rather than code?
  • If this PR addresses an issue in the queue, have you referenced it in the description?

@apopiak
Copy link
Contributor Author

apopiak commented Nov 5, 2020

@apopiak
Copy link
Contributor Author

apopiak commented Nov 12, 2020

@JoshOrndorff
Copy link
Contributor

FYI, this is (a cleaned up version of) the runtime migration code I presented in seminar.

code: https://github.com/JoshOrndorff/recipes/tree/joshy-migration-station
seminar recording: https://www.youtube.com/watch?v=0eNGZpNkJk4&list=PLp0_ueXY_enXRfoaW7sTudeQH10yDvFOS

@nuke-web3
Copy link
Contributor

Is it safe to say apopiak/migration-example#2 when completed will lay foundations for this to be closed? @apopiak Let us know how / if we can help in any way to get this tuto in the devhub 🥳

@apopiak
Copy link
Contributor Author

apopiak commented Apr 9, 2021

Current plan (as I understand it) is to have a combination of knowledge base, recipes and the repo you mention and not have a migration tutorial. @sacha-l Feel free to weigh in with plans :-)

@apopiak apopiak closed this Apr 9, 2021
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 this pull request may close these issues.

[New Tutorial] Advanced Runtime Upgrade + Storage Migration
4 participants