-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Describe the bug
Same variant as this bug on extension:
When onboarding with an SRP that have a lot of accounts synced with Backup & Sync, the Bitcoin Snap usually fails to "align" its accounts and fails with an error at some point.
The main reason being that the Snap keyring account creations is not idempotent and the Bitcoin Snap has been designed to use this behavior.
The Snap keyring needs to be updated to support this, thus, avoiding having the Bitcoin Snap to fail during alignments.
Snap keyring fix can be found here:
Expected behavior
The Bitcoin Snap should be able to align accounts with no error.
Screenshots/Recordings
No response
Steps to reproduce
Note
Might not happen frequently because of "timings", but we got this pretty consistently on extension
- Onboard with a new SRP
- Creates at least 50 accounts for that SRP
- Make sure to have "Backup & Sync" enabled!
- Uninstall
- Re-install
- Onboard with the same SRP + Inspect your console logs
Error messages or log output
Error: Unable to align accounts with provider "Bitcoin"
- - -
(from the Bitcoin Snap logs): An unexpected error occurredDetection stage
During release testing
Version
7.60.0
Build number
3157
Build type
None
Device
iOS simulator
Operating system
iOS
Additional context
No response
Severity
- Users with a lot of accounts might see those errors during onboarding
- Those errors are generally reported to Sentry (which adds a lot of noise)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status