fix: endless loop after hw tentative sign#28163
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |
|
✅ E2E Fixture Validation — Schema is up to date |
|



Description
Changelog
CHANGELOG entry: Hardware wallet no longer enters infinite loop when Ledger device disconnects or Ethereum app is closed during transaction signing
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Changes hardware-wallet connection retry behavior based on internal operation state; risk is moderate because it alters error/retry UX and could affect recovery paths for some error scenarios.
Overview
Fixes an endless retry loop by changing the bottom-sheet
retryEnsureDeviceReadyaction to close the hardware-wallet flow after a post-signing error (tracked viaoperationTypeRef) instead of attempting to reconnect/ensure readiness again.Resets
operationTypeRefat flow start and on close, and adds/updates provider tests to cover both retrying a connection error and closing on a signing error.Written by Cursor Bugbot for commit 7d1ccb2. This will update automatically on new commits. Configure here.