-
-
Notifications
You must be signed in to change notification settings - Fork 285
feat: MUSD-943 money-account-balance-service optimizations #9100
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
Merged
Matt561
merged 11 commits into
main
from
feat/musd-943-money-account-balance-fetching-optimizations
Jun 12, 2026
+772
−81
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
31f1eed
feat: phase 1 optimizations; configurable balance staleTime; pull und…
Matt561 d616894
feat: phase 2; add multicall for balance fetch
Matt561 af90c27
cleanup
Matt561 80d0c57
feat: renamed mUSDSHFvd to vmUSD
Matt561 0598a1d
Merge branch 'main' into feat/musd-943-money-account-balance-fetching…
Matt561 0204cd2
feat: fixed lint errors in money-account-balance-service.test.ts
Matt561 1b0db35
feat: updated changelog to include link to PR
Matt561 9202e19
Merge branch 'main' into feat/musd-943-money-account-balance-fetching…
Matt561 bf39537
feat: ran messenger-action-types:generate
Matt561 f20f0c9
fix: fixed moneyAccountBalanceStaleTime type in changelog
Matt561 d6a3b01
feat: added test for actual encode/decode paths
Matt561 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I'm not sure it makes sense to store the feature flags in the core library. To me it feels more like a client concern, and in general most of feature flags seem to be defined in the clients - so defining some of them in core seems to make the situation more confusing.
I understand that
VAULT_CONFIG_FEATURE_FLAG_KEYis already defined in this package, so I’m happy to approve - but IMO we should move away from this patternThere 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.
Also, the changelog says it's
moneyAccountBalanceStaleTime- note the capital T. Would be good to get them matching ;)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.
Good catch. I've fixed the typo in the changelog!
As discussed, we'll open a separate PR if we decide to move feature flags to the client.