chore: ramps controller version bump#24956
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsThis PR upgrades the @metamask/ramps-controller package from v4.0.0 to v4.1.0 and adds two new state properties to the RampsController: The changes are:
The changes are additive and backward compatible - they add new fields with default values rather than modifying existing behavior. However, since this affects the RampsController which is a core controller for the buy/sell (ramps) functionality, running the SmokeRamps tests is appropriate to verify that:
The risk is medium because:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #24956 +/- ##
==========================================
- Coverage 79.88% 79.88% -0.01%
==========================================
Files 4232 4232
Lines 108274 108277 +3
Branches 22669 22671 +2
==========================================
+ Hits 86493 86494 +1
- Misses 15727 15728 +1
- Partials 6054 6055 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|



Description
Upgrade ramps controller to 4.1.0 which includes lots of methods and types needed for the V2 unified ramps flow. 4.1.0 Changelog: https://github.com/MetaMask/core/blob/main/packages/ramps-controller/CHANGELOG.md#410
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Dependency update
@metamask/ramps-controllerto^4.1.0(package.json, yarn.lock)State/schema adjustments
paymentMethodsandselectedPaymentMethodtoRampsControllerstate usages (tests, snapshots,app/util/test/initial-background-state.json)ramps-controller-init.test.tsto include new fields inRampsControllerStateinitial stateWritten by Cursor Bugbot for commit 459b9fb. This will update automatically on new commits. Configure here.