feat(migrate): implement storage layout introspection and hazard analysis helpers - #1040
Merged
Nanle-code merged 1 commit intoSep 25, 2026
Conversation
|
@ibrahimmujidah1-stack Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
…ysis helpers - Implement StorageLayoutIntrospector in src/utils/storage_layout.rs to extract storage keys, tiers, and DataKey enums - Implement hazard detection (removed keys, type mutations, storage tier shifts, discriminant collisions, uninitialized keys) - Implement automated starter migration rules generation - Add 'starforge migrate introspect' and 'starforge migrate hazards' CLI subcommands in src/commands/migrate.rs - Add unit tests for layout extraction, hazard detection, and safe migrations - Document usage and migration workflows in docs/STORAGE_LAYOUT_MIGRATIONS.md Closes Nanle-code#803
ibrahimmujidah1-stack
force-pushed
the
feat/803-storage-layout-introspection-helpers
branch
from
September 25, 2026 08:29
e185670 to
9096f75
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements automated storage layout introspection and migration hazard analysis for Soroban contracts:
Closes #803