Skip to content

chore: bump litesvm to v0.11.0#604

Merged
MicaiahReid merged 5 commits intomainfrom
litesvm-v0.11.0
Mar 31, 2026
Merged

chore: bump litesvm to v0.11.0#604
MicaiahReid merged 5 commits intomainfrom
litesvm-v0.11.0

Conversation

@MicaiahReid
Copy link
Copy Markdown
Collaborator

@MicaiahReid MicaiahReid commented Mar 31, 2026

Fixes #578

The new LiteSVM release adds a fix to automatically create feature accounts for activated features. This allows us to remove some hacky code paths where we were previously inserting these accounts manually.

This LiteSVM change also had some downstream changes - the with_feature_set initializer combined with the with_feature_accounts initializer makes the features active and creates the accounts. Then, later if we were to deactivate a feature, the feature account would still exist and appear active in some cases. This is normal behavior for the VM, but we were instantiating things in a weird order - first with all features, then stripping it down to mainnet features. This was causing some issues. So I've refactored how we initialize the VM - not setting feature accounts until we've got the actual list of feature sets ready.

Finally, the LiteSVM release had some fixes around rent handling, specifically requiring the accurate minimum rent. This broke a bunch of our tests that were not leaving accounts with minimum rent. Those tests are fixed.

@MicaiahReid MicaiahReid requested a review from lgalabru March 31, 2026 13:45
Copy link
Copy Markdown
Collaborator

@lgalabru lgalabru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great, thanks @MicaiahReid!

@MicaiahReid MicaiahReid merged commit c39bb8c into main Mar 31, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove logic for feature account insertion

2 participants