Browser-laptop: ledger persists newClient but restores it to newClient.state

Created on 17 Oct 2017  路  5Comments  路  Source: brave/browser-laptop

Test plan

https://github.com/brave/browser-laptop/pull/11495#issuecomment-336361446


aka yo dawg I heard you lik state

This issue can lead to an unlimited wait while performing conversion from BTC->BAT. We should be persisting newClient.state instead essentially. We will need some recovery logic to rescue improperly persisted state files.

This issue was originally noted in - https://github.com/brave/browser-laptop/pull/11495

It was marked as a bat-client issue, but I've closed that issue since it is actually due to browser-laptop persistence of the client - https://github.com/brave-intl/bat-client/issues/18

Qchecked-Linux Qchecked-Win64 Qchecked-macOS Qtest-plan-specified featurrewards release-noteexclude

Most helpful comment

Yes, let's target 0.19.x Hotfix 2

All 5 comments

@evq should we put this into 0.19.x Hotfix 2 since the milestone will mostly concentrate on ledger/payment fixes/improvements? I'm not 100% sure when 0.19.x Hotfix 2 is slated for, but if we don't have time, we should stick this into 0.19.x Hotfix 3.

Yes, let's target 0.19.x Hotfix 2

@evq are the STR in https://github.com/brave/browser-laptop/pull/11495#issuecomment-336361446 sufficient for this issue/case?

@kjozwiak yes, those steps are sufficient - I was able to reproduce using them

Was this page helpful?
0 / 5 - 0 ratings