status-mobile icon indicating copy to clipboard operation
status-mobile copied to clipboard

Waku backup - deleted contact is restored when recovering an account from recovery phrase

Open yevh-berdnyk opened this issue 1 year ago • 5 comments

Bug Report

Problem

Now I can reproduce this issue with only one account which is added as a contact. Probably that's because that account was created on the old version of Status desktop. However this issue is reproducible in each build

Expected behavior

Deleted contact is not restored

Actual behavior

Deleted contact is restored - userDesktop is listed in contacts tab

Reproduction

  1. On the first device restore this account: process fence december tourist trim follow pepper level useless oblige tank defy, let's call them userDesktop
  2. On the second device create a new user, userA
  3. UserA adds userDesktop as a contact and userDesktop accepts this contact request
  4. UserA performs backup (Profile -> Sync Settings -> Backup Settings -> Perform Backup)
  5. UserA removes userDesktop from contacts
  6. UserA performs backup once again
  7. Remove all the data from the second device and restore userA's account
  8. Check contacts list

Additional Information

  • Status version: nightly
  • Operating System: Android, iOS
  • The user who should be added as a contact was created on this desktop version: Screenshot 2023-12-06 at 15 20 00

Logs

mobile_user_geth.log.zip mobile_user_logcat.log.zip

yevh-berdnyk avatar Dec 06 '23 14:12 yevh-berdnyk