-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
paymentId/address discrepancy in ledger_state file - follow up to 2172 #3060
Comments
Reproduced on Ubuntu 17.10
|
Resolves brave/brave-browser#3061 Resolves brave/brave-browser#3060
@NejcZdovc I tried using the test plan in brave/brave-core#1508 to test this issue but it wasn't working for me. Step 10 I get a message about how my wallet is corrupted and I need to restore (so I can't check addresses or backup words). So I skipped that and continued on in the test plan, but once I get to step 13 I see the same message so I can't see what recovery keys are: |
@LaurenWags will check it out and ping you tomorrow to see what is going on |
Did you do first portion of the test on old version of the browser, right? That don't have this code in yet |
@NejcZdovc yep - I did steps 1-10 from test plan on 0.59.35 (current release channel version) and then renamed profile to be beta - should I use an older version than release? fwiw - following the steps to reproduce from the description to test worked as expected. |
@LaurenWags did you used this seed |
also did you modify paymentId by mistake? paymentId needs to be the same through the whole test |
@NejcZdovc what about card_id - should that be modified or left alone? Also - I tried again, using staging with 0.59.35 released version. I only modified BAT, BTC, ETH, and LTC addresses and the seed. I am still getting this message in step 10. |
Verified passed with
Verification passed on
Used test plan from brave/brave-core#1508 Verification passed on
|
Description
Logging as a follow up to #2172 (comment) per discussion with @NejcZdovc
We have some users who are in a state where their paymentId/addresses in ledger_state don't match (the paymentId in ledger_state is not actually associated with the addresses listed) per #1831. We need to fix users who are in this state.
Background/Context for historical purposes:
Logged in issue #1831 you'll see that there was an issue with paymentId and address mismatch after using Restore functionality. This issue was fixed for users going forward, however, we still need to fix users who are already in this mismatched state. That was logged in #2172 as a follow up issue. However, there was some miscommunication where it was thought that the ledger_state file contained the correct addresses, where unfortunately it did not. The fix for 2172 was to have the UI update to reflect what was in ledger_state, but what is in ledger_state is wrong. We need to take an additional step to update the addresses in ledger_state to be the ones that correspond with the paymentId in ledger_state. After this is done, the fix from 2172 should correctly display the addresses in the UI.
Steps to Reproduce
ledger_state
.ledger_state
and note paymentId (this was updated, so it's different than step 5) addresses and CARD_ID (these are all still the same as step 5).At this point, you now have a paymentId/address discrepancy or mismatch. If you were to put the paymentId from step 9 into this URL: https://ledger.mercury.basicattentiontoken.org/v2/wallet/ you can see what addresses should be displayed to compare to what is actually displayed.
Actual result:
Expected result:
Backup words/paymentId for wallet should be accurate
Addresses in Add Funds should be updated to be the ones that correspond with the correct paymentID
Addresses and CARD_ID should be updated to be the ones that correspond with the correct paymentID
Reproduces how often:
easily with steps above
Brave version (brave://version info)
Reproducible on current release:
Website problems only:
Additional Information
cc @brave/legacy_qa
The text was updated successfully, but these errors were encountered: