Skip to content

Conversation

@ghgoodreau
Copy link
Contributor

@ghgoodreau ghgoodreau commented Jan 27, 2026

Explanation

Reverts the breaking change MetaMask/metamask-mobile#25277 in order to unblock clients using the latest core controller, until a better solution is found.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Reintroduces Solana rent‑exemption balance handling in the bridge controller.

  • Restores minimumBalanceForRentExemptionInLamports in controller state and exports selectMinimumBalanceForRentExemptionInSOL
  • Adds snaps utils getMinimumBalanceForRentExemptionRequest and getMinimumBalanceForRentExemptionInLamports; fetch is triggered non‑blocking on Solana quote requests and reset on state reset
  • Updates selectors, constants, controller metadata, and index.ts exports
  • Expands tests and snapshots to cover happy/failure paths and snaps request shape; updates CHANGELOG

Written by Cursor Bugbot for commit e210de8. This will update automatically on new commits. Configure here.

@ghgoodreau ghgoodreau marked this pull request as ready for review January 27, 2026 22:58
@ghgoodreau ghgoodreau requested review from a team as code owners January 27, 2026 22:58
@ghgoodreau ghgoodreau enabled auto-merge January 28, 2026 16:53
@ghgoodreau ghgoodreau added this pull request to the merge queue Jan 28, 2026
Merged via the queue into main with commit 6013ca4 Jan 28, 2026
302 checks passed
@ghgoodreau ghgoodreau deleted the revert-remove-getMinimumBalanceForRentExemption branch January 28, 2026 17:01
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.

3 participants