Pallet Coupling, Runtime Upgrades, and Storage Migrations | Substrate Seminar | Archives

Channel:
Subscribers:
5,190
Published on ● Video Link: https://www.youtube.com/watch?v=0eNGZpNkJk4



Duration: 1:37:40
1,461 views
43


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




Other Videos By Parity Tech


2020-11-12Build a feeless transaction pallet | Substrate Seminar
2020-10-21Benchmarking for your Substrate pallets | Substrate Seminar
2020-10-13Key management and Parity Signer | Substrate Seminar | Archives
2020-10-08Digital Asset Tracking using Blockchain Technology: Use Cases and Benefits
2020-09-29Substrate 2.0 | Substrate Seminar | Archives
2020-09-22Index your chain into a Postgres SQL database | Substrate Seminar | Archives
2020-09-17Decentralizing the Cloud: The Promise and Potential of Distributed Storage
2020-08-06Building blockchains the easy way | Substrate Seminar
2020-06-26SubSocial's FRAME pallets | Substrate Seminar
2020-06-12Execute Substrate pallets in a TEE with SubstraTEE | Substrate Seminar | Archives
2020-06-03Pallet Coupling, Runtime Upgrades, and Storage Migrations | Substrate Seminar | Archives
2020-06-03Add SM2 crypto to your Substrate chain | Substrate Seminar
2020-05-26Sub0 Online: Starmesh: What Can We Extract From the Orbit - Matej Nemcek, Starmesh
2020-05-26Sub0 Online: Darwinia Relay and Bridge Chain - Bree Yin, Darwina
2020-05-26Sub0 Online: How to Balance Staking Liquidity and High Yield - Bunny Nie, Bifrost
2020-05-26Sub0 Online: Phala Network & Web3 Analytics - Hang Yin, Phala network
2020-05-26Sub0 Online: Subsocial: A set of Social Network Tools for Substrate - Alex Siman, Dappforce
2020-05-26Sub0 Online: Anonymous Credentials - Willam Freudenberger, KILT
2020-05-26[TUTORIAL] Build a Bitcoin-like Blockchain with Substrate - Beginner Friendly (5 of 5)
2020-05-26[TUTORIAL] Build a Bitcoin-like Blockchain with Substrate - Beginner Friendly (4 of 5)
2020-05-26[TUTORIAL] Build a Bitcoin-like Blockchain with Substrate - Beginner Friendly (3 of 5)



Tags:
Substrate
Blockchain
Runtime Upgrade
Pallets
Migrations
Forkless