revert(perps): add Perps Withdraw confirmation flow and post-quote config#28105
Conversation
…ote conf…" This reverts commit 61e27d0.
|
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |
|
|
✅ E2E Fixture Validation — Schema is up to date |



Reverts #28046 which was blocking E2E.
Note
Medium Risk
Reverts perps-withdraw-specific confirmation/pay behavior and downgrades
@metamask/transaction-pay-controller, which can subtly affect transaction-pay quoting/config and related UI/metrics.Overview
Reverts the perps withdraw confirmation integration by removing
TransactionType.perpsWithdrawspecial-casing across confirmations (alert banner/footer visibility, back-navigation, insufficient-balance ignoring, bridge-fee tooltip messaging, custom-amount calculations, and pay metrics/tests).Simplifies
useTransactionPayPostQuoteto always setrefundTovia the Predict Safe proxy and removes the Hyperliquid/perps-withdraw config path.Adjusts CI to tighten the iOS JS bundle size threshold (54 → 53) and downgrades
@metamask/transaction-pay-controller(with corresponding lockfile/state snapshot updates, including removal of some persisted state fields likeproviderAutoSelected/tokenWarnings).Written by Cursor Bugbot for commit d322782. This will update automatically on new commits. Configure here.