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

[LLC] Add Dust Limit for bitcoin family #1513

Merged
13 commits merged into from
Oct 26, 2022
Merged

Conversation

lvndry
Copy link
Contributor

@lvndry lvndry commented Oct 10, 2022

πŸ“ Description

More info about what dusting is here.

  • Addition of a dust limit of 546 stats for bitcoin
  • Migration of AmountField from jsx -> tsx

❓ Context

  • Impacted projects: LLC
  • Linked resource(s): https://ledgerhq.atlassian.net/browse/LIVE-3373

βœ… Checklist

  • Test coverage
  • Atomic delivery
  • No breaking changes

πŸ“Έ Demo

Screenshot 2022-10-10 at 12 12 47

πŸš€ Expectations to reach

Please make sure you follow these Important Steps.

Pull Requests must pass the CI and be internally validated in order to be merged.

@lvndry lvndry self-assigned this Oct 10, 2022
@vercel
Copy link

vercel bot commented Oct 10, 2022

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated
live-common-tools βœ… Ready (Inspect) Visit Preview Oct 25, 2022 at 8:58AM (UTC)
3 Ignored Deployments
Name Status Preview Updated
ledger-live-github-bot ⬜️ Ignored (Inspect) Oct 25, 2022 at 8:58AM (UTC)
native-ui-storybook ⬜️ Ignored (Inspect) Oct 25, 2022 at 8:58AM (UTC)
react-ui-storybook ⬜️ Ignored (Inspect) Oct 25, 2022 at 8:58AM (UTC)

@changeset-bot
Copy link

changeset-bot bot commented Oct 10, 2022

πŸ¦‹ Changeset detected

Latest commit: 0b4acb9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
live-mobile Patch
ledger-live-desktop Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov
Copy link

codecov bot commented Oct 10, 2022

Codecov Report

Base: 47.57% // Head: 47.57% // No change to project coverage πŸ‘

Coverage data is based on head (df8cbb8) compared to base (df8cbb8).
Patch has no changes to coverable lines.

❗ Current head df8cbb8 differs from pull request most recent head 0b4acb9. Consider uploading reports for the commit 0b4acb9 to get more accurate results

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1513   +/-   ##
========================================
  Coverage    47.57%   47.57%           
========================================
  Files          679      679           
  Lines        30143    30143           
  Branches      7900     7900           
========================================
  Hits         14340    14340           
  Misses       15738    15738           
  Partials        65       65           
Flag Coverage Ξ”
test 47.57% <0.00%> (ΓΈ)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

β˜” View full report at Codecov.
πŸ“’ Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link

github-actions bot commented Oct 10, 2022

@lvndry

Screenshots: βœ…

There are no changes in the screenshots for this PR. If this is expected, you are good to go.

Copy link
Contributor

@lambertkevin lambertkevin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changeset

@lambertkevin lambertkevin self-requested a review October 13, 2022 13:44
Copy link
Contributor

@lambertkevin lambertkevin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but don't forget your changeset !

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just need the translation key on LLM, the rest looks all good πŸ‘Œ

EDIT : also a changeset as mentioned by Kevin πŸ‘ You can refer to this wiki page: https://github.com/LedgerHQ/ledger-live/wiki/Changesets

@lvndry lvndry force-pushed the feat/live-3373-btc-dust-limit branch from eced21c to 0b4acb9 Compare October 25, 2022 08:56
@ghost ghost merged commit ffc377d into develop Oct 26, 2022
@ghost ghost deleted the feat/live-3373-btc-dust-limit branch October 26, 2022 11:33
adrienlacombe pushed a commit that referenced this pull request Oct 26, 2022
* add dust limit error for bitcoin

* uncomment bridge tests

* dust limit as constant

* unused import

* correct config files

* lockfile

* error not undefined

* typing

* fix typo

* improve typing

* LLM dust limit

* changeset

* disable button if dust limit

Co-authored-by: lvndry <[email protected]>
adrienlacombe pushed a commit that referenced this pull request Oct 26, 2022
* add dust limit error for bitcoin

* uncomment bridge tests

* dust limit as constant

* unused import

* correct config files

* lockfile

* error not undefined

* typing

* fix typo

* improve typing

* LLM dust limit

* changeset

* disable button if dust limit

Co-authored-by: lvndry <[email protected]>
cgrellard-ledger pushed a commit that referenced this pull request Oct 27, 2022
* add dust limit error for bitcoin

* uncomment bridge tests

* dust limit as constant

* unused import

* correct config files

* lockfile

* error not undefined

* typing

* fix typo

* improve typing

* LLM dust limit

* changeset

* disable button if dust limit

Co-authored-by: lvndry <[email protected]>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Has changes in live-common desktop Has changes in LLD ledgerjs Has changes in the ledgerjs open source libs mobile Has changes in LLM translations Translation files have been touched
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants