Skip to content
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

Wallet is in a persisted bad state until wallet recovery is complete #4794

Closed
tmancey opened this issue Jun 11, 2019 · 1 comment · Fixed by brave/brave-core#2655
Closed

Comments

@tmancey
Copy link
Contributor

tmancey commented Jun 11, 2019

Description

Wallet is recovered in two separate stages. Payment id and then the private key. If the application crashes or other logic is added in the future (such as confirmations) the wallet will need to be recovered again (until successful) or transactions will fail.

Steps to Reproduce

  1. Recover wallet
  2. Quit browser

Actual result:

Wallet payment id and private key are persisted separately

Expected result:

Wallet should only be persisted once both payment id and private key are known

Reproduces how often:

Easily reproducible for confirmations Ads Rewards (issues/4330)

Brave version (brave://version info)

Version/Channel Information:

  • Can you reproduce this issue with the current release? Yes
  • Can you reproduce this issue with the beta channel? Yes
  • Can you reproduce this issue with the dev channel? Yes
  • Can you reproduce this issue with the nightly channel? Yes

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? No
  • Does the issue resolve itself when disabling Brave Rewards? Yes
  • Is the issue reproducible on the latest version of Chrome? No

Miscellaneous Information:

@tmancey tmancey self-assigned this Jun 11, 2019
@tmancey tmancey added the priority/P2 A bad problem. We might uplift this to the next planned release. label Jun 11, 2019
@tmancey tmancey added this to the 0.68.x - Nightly milestone Jun 11, 2019
@srirambv
Copy link
Contributor

srirambv commented Jun 28, 2019

Verification passed on

Brave 0.66.99 Chromium: 75.0.3770.100 (Official Build) (64-bit)
Revision cd0b15c8b6a4e70c44e27f35c37a4029bad3e3b0-refs/branch-heads/3770@{#1033}
OS Linux
  • Verified restoring a wallet with grants and cashed in tokens are retained on the new profile
  • Verified restoring the wallet with ads grant/UGP grant is retained
  • Verified restoring the wallet corrects the amount of the pending rewards

Verified passed with

Brave 0.66.99 Chromium: 75.0.3770.100 (Official Build) (64-bit)
Revision cd0b15c8b6a4e70c44e27f35c37a4029bad3e3b0-refs/branch-heads/3770@{#1033}
OS Mac OS X
  • Verified restoring a wallet with grants and cashed in tokens are retained on the new profile
  • Verified restoring the wallet with ads grant/UGP grant is retained
  • Verified restoring the wallet corrects the amount of the pending rewards

Verification passed on

Brave 0.66.99 Chromium: 75.0.3770.100 (Official Build) (64-bit)
Revision cd0b15c8b6a4e70c44e27f35c37a4029bad3e3b0-refs/branch-heads/3770@{#1033}
OS Windows 10 OS Version 1803 (Build 17134.523)
  • Verified restoring a wallet with grants and cashed in tokens are retained on the new profile
  • Verified restoring the wallet with ads grant/UGP grant is retained
  • Verified restoring the wallet corrects the amount of the pending rewards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants