-
Notifications
You must be signed in to change notification settings - Fork 246
Open
Description
What problem does your feature solve?
Developers building on Soroban need guidance on how to handle data migrations when their contract storage schema needs to change. While upgrading contract code is documented, migrating existing storage data is not covered.
Reference: https://discord.com/channels/897514728459468821/966788672164855829/1463250846123819203 cc @tupui
What would you like to see?
Documentation covering data migration strategies for Soroban smart contracts, including:
- How to perform data migrations today (e.g., deploying a new contract version with migration code, running the migration, then potentially deploying another version to remove migration-only code)
- Best practices and patterns for structuring migration logic
- Reference to how other chains handle data migrations may be helpful (separate from any existing docs about migrating contracts from other chains to Soroban)
What alternatives are there?
Developers could figure this out on their own?
Reactions are currently unavailable