You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
Create a new tutorial or add a new section to the existing tutorial on runtime upgrades. The new material should demonstrate the details of storage migrations as well as strategies for testing them.
change Something get(fn something): Option<u32>; storage to store SomeStruct (and define SomeStruct).
add storage migration function like here except putting it in a separate migration module and migrate_to_struct function. (might be missing some logging)
We could also think about introducing tests. Like a unit test for the migration function. And/Or an integration test via Halva or the substrate-test-runner.
Create a new tutorial or add a new section to the existing tutorial on runtime upgrades. The new material should demonstrate the details of storage migrations as well as strategies for testing them.
Relates to #580 and #750.
The text was updated successfully, but these errors were encountered: