v3.1: runtime: Relax program data account check in migration (backport of #9891)#9998
Merged
v3.1: runtime: Relax program data account check in migration (backport of #9891)#9998
Conversation
* Add feature gate * Add tests * Improve test coverage * Add zero-lamports tests back (cherry picked from commit 5390905) # Conflicts: # feature-set/src/lib.rs
Author
|
Cherry-pick of 5390905 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## v3.1 #9998 +/- ##
========================================
Coverage 83.2% 83.2%
========================================
Files 865 865
Lines 376142 376458 +316
========================================
+ Hits 313144 313484 +340
+ Misses 62998 62974 -24 🚀 New features to boost your workflow:
|
t-nelson
approved these changes
Jan 14, 2026
|
who needs to sme here? we want this in before tomorrow so it lands in the mb upgrade candidate |
buffalojoec
approved these changes
Jan 16, 2026
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.
Problem
SIMD-0444 enables runtime-level program migrations when the target program data accounts is already funded, which currently it is not possible.
Summary of Changes
This PR adds a feature gate for SIMD-0444 and updates the migration validation to allow pre-funded program data accounts.
This is an automatic backport of pull request #9891 done by [Mergify](https://mergify.com).