feat: support max money account deposit for ERC-20 tokens#29605
Conversation
…y account deposits
…metamask-mobile into custom_amt_update_hook
|
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. |
…metamask-mobile into custom_amt_update_hook
…metamask-mobile into custom_amt_update_hook
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Impact:
Tag Selection:
Performance Tests: No performance impact expected from this small UI prop addition (just changes a button label from "90%" to "Max"). Performance Test Selection: |
|



Description
Support for Max option in Money Account Deposit.
Changelog
CHANGELOG entry:
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/CONF-1290
Manual testing steps
Screenshots/Recordings
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
Low risk: a small UI prop change to enable the existing
CustomAmountInfomax-percentage behavior for money account deposits, plus a unit test assertion.Overview
Money account deposit confirmations now enable the Max amount option by passing
hasMaxtoCustomAmountInfofromMoneyAccountDepositInfo.Adds a unit test to ensure
hasMax=trueis propagated alongside the existingsupportAccountSelectionbehavior.Reviewed by Cursor Bugbot for commit 741a489. Bugbot is set up for automated code reviews on this repo. Configure here.