-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix users who already restored wallets but UI displays incorrect addresses #2172
Comments
@evq which endpoint should we use to get this data? can we just do it as part of balance check? |
@evq @NejcZdovc any news on this one? We should really try getting this into |
@brave/legacy_qa To get the wallet into broken state, version 0.56.6 of Brave is required. Unfortunately there are no Windows standalone installers for that version https://github.com/brave/brave-browser/releases/tag/v0.56.6. Any ideas how we could verify this issue on Windows? |
Doesn't editing the seed values corrupt the wallet ? @NejcZdovc thoguhts |
With this issue, it wasn't due to the seed being corrupted but more about @NejcZdovc any idea's how we can reproduce this case? As @btlechowski mentioned, |
I think the original issues is not fixed. Tested on Linux.
Reproduced twice with above STR. |
@btlechowski why would you get corrupted wallet if you do wallet recovery in step 8? |
Issue does not appear to be resolved on macOS either. These were the steps I used to test (adapted from #1831):
|
@NejcZdovc because 0.56.6 don't have the fix from #1831. So if you recover wallet on 0.56.6, you will get a corrupted one. |
@NejcZdovc when I follow the test plan from brave/brave-core#1173, after modifying the addresses in ledger_state and launching Brave, I get this message about a corrupted wallet, so I can't check via the test plan. |
For #2172 (comment) I logged a follow up issue: #3060 Since I am unable to test this issue per the test plan (#2172 (comment)), I came across a different set of steps that allowed me to verify the fix for this issue. Here are the steps I used:
|
Verification passed on
Used STR from #2172 (comment) Verification passed on
|
Description
We originally fixed #1831 but didn't fix the case when a user has already restored but still has the incorrect address appearing in their UI. We've gotten several more reports from users who sent BAT to their address but never received it as it was sent to the incorrect address as they previously restored. @jonathansampson was also affected by this.
@evq mentioned that the deposit addresses are in the wallet info response and we should be able to compare those values to the locally stored values and fix the issue automatically.
Steps to Reproduce
STR would be similar to #1831. Requires you to get the wallet into the broken state where it shows the incorrect addresses in the UI after restoring a previous wallet. Updating to a new version should automatically fix these users as well.
Actual result:
#1831 addressed new installs but didn't address users who might have already restored wallets. Users who update to a new version should be fixed automatically.
Expected result:
Users affected by this issue should be automatically fixed and the correct addresses should be displayed in the UI so they don't send funds to the incorrect addresses.
Reproduces how often:
100% reproducible when you have an account affected by this issue.
Brave version (brave://version info)
Additional Information
@jonathansampson @evq please add anymore information if I've missed something!
The text was updated successfully, but these errors were encountered: