-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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: cross chain aggregated balance #28456
Conversation
…ask-extension into brian/asset-controller-39
… brian/currency-rate-multichain-polling2
…MetaMask/metamask-extension into brian/multiexchangerate
… brian/multiexchangerate
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.
LGTM 🚀
Builds ready [69ed10a]
Page Load Metrics (2108 ± 93 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
privacy-snapshot.json
Outdated
@@ -29,6 +29,8 @@ | |||
"github.com", | |||
"goerli.infura.io", | |||
"lattice.gridplus.io", | |||
"linea-mainnet.infura.io", |
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.
Can these be removed now that more stuff is mocked?
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 added mocks for the test that was failing test/e2e/tests/settings/account-token-list.spec.js
But I still had to add sepolia.infura.io
to privacy snapshot
Builds ready [d380413]
Page Load Metrics (2051 ± 55 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
@@ -52,12 +52,13 @@ | |||
"security-alerts.api.cx.metamask.io", | |||
"security-alerts.dev-api.cx.metamask.io", | |||
"sentry.io", | |||
"sepolia.infura.io", |
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.
we'd prefer to mock all places hitting this. I think we expected #28277 to cover all places and, aren't sure which caller remains.
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.
Agree; Inspecting the network tab on the test test/e2e/tests/settings/account-token-list.spec.js
; the calls to infura that i see are eth_blockNumber
, even though i added a mock for those, it is still requiring the snapshot update; not quite sure what i missed there
Builds ready [fd49581]
Page Load Metrics (2165 ± 73 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
Branch was ininitially based on top of #28276
This PR calculates balance for current account cross chains while not taking into account the test networks.
Related issues
Fixes:
Manual testing steps
Start the app with
PORTFOLIO_VIEW=1
Screenshots/Recordings
Before
After
Screen.Recording.2024-11-19.at.22.41.15.mov
Pre-merge author checklist
Pre-merge reviewer checklist