Pallet Coupling, Runtime Upgrades, and Storage Migrations | Substrate Seminar | Archives
Channel: Parity Tech
Date: 2020-06-04

Joshy Orndorff walks step-by-step through a demonstration that exemplifies pallet coupling, runtime upgrades, and storage migrations.


0:00 Our starting point
2:20 How tight coupling works
6:19 Question: How to tell a pallet from a runtime?
12:54 Creating a minimal runtime
17:20 Installing our runtime in a node
20:47 Creating a chain specification and launching an instant seal chain
28:17 Installing tightly coupled pallets for our first runtime upgrade
33:18 Our first upgrade (where we forgot to bump spec version)
35:29 Our frist correct runtime upgrade :)
40:04 Switching to loosely coupled pallets and upgrading again
46:28 Distinguishing various RuntimeVersions
51:09 Exporting and importing blocks to a file
58:24 Code walkthrough of the map-set implementation
1:04:06 Beginning our upgrade to map-set
1:19:06 Submitting a successful upgrade but misunderstanding the results
1:22:26 Writing migrations directly in the runtime lib.rs
1:32:26 Strongly-typed migration code
1:36:26 Wrap-up and where the recording is posted



⎼⎼⎼⎼⎼⎼⎼

→ For more videos on blockchain development and building Web 3.0,
subscribe to the channel: https://www.youtube.com/channel/UCSs5vZi0U7qHLkUjF3QnaWg?sub_confirmation=1

→ Website: https://www.parity.io/

→ To stay informed about Parity updates and events, 
subscribe to the newsletter: https://www.parity.io/newsletter/

→ Follow us on Twitter (@ParityTech): https://twitter.com/ParityTech

→ Check our code on GitHub: https://github.com/paritytech/

→ Drop in the Riot chat to ask technical questions: https://riot.im/app/#/room/#watercooler:matrix.parity.io