-
Notifications
You must be signed in to change notification settings - Fork 7
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 balance rollup #101
Conversation
const tokenTypes = Object.entries(subscribers) | ||
.filter(([, subscriberCount]) => subscriberCount > 0) | ||
.map(([tokenType]) => tokenType as TokenType); | ||
const tokenTypes = Object.entries(subscribers) |
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.
This fixes a bug which was causing us to still actively poll balances on screens which don't necessarily need them.
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.
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.
This was no longer used
...kground/services/balances/handlers/getTotalBalanceForWallet/getTotalBalanceForWallet.test.ts
Outdated
Show resolved
Hide resolved
.../services/balances/handlers/getTotalBalanceForWallet/helpers/getAccountsWithActivity.test.ts
Outdated
Show resolved
Hide resolved
...ackground/services/balances/handlers/getTotalBalanceForWallet/helpers/getIncludedNetworks.ts
Show resolved
Hide resolved
src/background/services/balances/handlers/getTotalBalanceForWallet/getTotalBalanceForWallet.ts
Show resolved
Hide resolved
24f970b
to
0284bac
Compare
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.
Nice work!
Description
Changes
Testing
View P-Chain Details
link should be displayedScreenshots:
XP-Chain.balance.rollup.mov
Checklist for the author