-
Notifications
You must be signed in to change notification settings - Fork 50
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
feat(wallet-mobile): Add delegate to Yoroi banners #3863
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3863 +/- ##
===========================================
+ Coverage 22.80% 22.87% +0.06%
===========================================
Files 1163 1168 +5
Lines 22125 22168 +43
Branches 3409 3410 +1
===========================================
+ Hits 5046 5071 +25
- Misses 16934 16952 +18
Partials 145 145
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dashboard.json probably changed when testing. Will be overridden later when actually used I guess.
Let me fix it |
b164c3f
to
4f989ba
Compare
|
@@ -38,7 +40,7 @@ export const ConsiderDRepToUsTxHistoryBanner = () => { | |||
isStaking: hasStakingKeyRegistered, | |||
dismissedAt, | |||
ptBalance: balance.quantity, | |||
ptMinBalance: 5n * BigInt(ptDecimals), | |||
ptMinBalance: BigInt(minBalanceToDisplayBanner) * BigInt(ptDecimals), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ptMinBalance: BigInt(minBalanceToDisplayBanner) * BigInt(ptDecimals), | |
ptMinBalance: BigInt(minBalanceToDisplayBanner) * BigInt(10n ** ptDecimals), |
ptBalance: 0n, | ||
ptMinBalance: 0n, | ||
ptBalance: balance.quantity, | ||
ptMinBalance: 5n * BigInt(ptDecimals), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ptMinBalance: 5n * BigInt(ptDecimals), | |
ptMinBalance: BigInt(minBalanceToDisplayBanner) * BigInt(10n ** ptDecimals), |
Description / Change(s) / Related issue(s)
Create governance Yoroi delegation banner
Ticket
YV-292