This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 973
Contribution amounts were not updated during BTC => BAT conversion #11719
Labels
feature/rewards
initiative/bat-payments
priority/P4
Minor loss of function. Workaround usually present.
QA/checked-Linux
QA/checked-macOS
QA/checked-Win64
QA/test-plan-specified
release-notes/include
Milestone
Comments
bsclifton
added
feature/rewards
initiative/bat-payments
priority/P4
Minor loss of function. Workaround usually present.
labels
Oct 30, 2017
8 tasks
This was referenced Nov 1, 2017
syuan100
pushed a commit
to syuan100/browser-laptop
that referenced
this issue
Nov 9, 2017
…ting Fixes brave#11719 Auditors: @NejcZdovc, @evq, @petemill Test Plan: - Use an older version of Brave (0.18.36 for example) - Enable payments and set contribution amount as one of the original amounts (like $10 for example) - Run a build with this fix in it - In preferences#payments, you should notice it should be 25 BAT if USD was $5, 50 if $10, 75 if $15, 100 if $20 - Exit Brave - Open the ledger-state.json file and inspect, looking for properties.fee.amount - This should have the new value (25, 50, 75, or 100) not the old value (5, 10, 15, 20)
syuan100
pushed a commit
to syuan100/browser-laptop
that referenced
this issue
Nov 9, 2017
Properly fixes brave#11719 Also fixes a `ledgerClient is not defined` error I saw when testing (fix is to call clientPrep). This only impacted folks that quit and needed to reload from file. Auditors: @bbondy, @evq
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
feature/rewards
initiative/bat-payments
priority/P4
Minor loss of function. Workaround usually present.
QA/checked-Linux
QA/checked-macOS
QA/checked-Win64
QA/test-plan-specified
release-notes/include
Test plan
#11722 (comment)
Description
Before BAT Mercury was released (0.19.x), there were a few contribution amounts you could pick:
$5, $10, $15, $20 (USD)
After BAT Mercury, users could choose:
25, 50, 75, 100 (BAT)
However, the amounts were never converted.
Steps to Reproduce
ledger-state.json
file and inspect, looking for the properties section:Actual result:
Value is kept as 10
Expected result:
Value should be converted to equivalent:
5 USD => 25 BAT
10 USD => 50 BAT
15 USD => 75 BAT
20 USD => 100 BAT
Reproduces how often: [What percentage of the time does it reproduce?]
Brave Version
about:brave info:
Brave: 0.19.70
rev: d4b94c6
Muon: 4.5.9
libchromiumcontent: 62.0.3202.62
V8: 6.2.414.32
Node.js: 7.9.0
Update Channel: Release
OS Platform: macOS
OS Release: 16.7.0
OS Architecture: x64
Reproducible on current live release:
yes
Additional Information
Here's a screenshot showing that payment for 10 BAT was processed (and you can see the UI shows 25 BAT as my selection)
The text was updated successfully, but these errors were encountered: