-
Notifications
You must be signed in to change notification settings - Fork 5k
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
refactor: memoize fetchErc20Decimals, relocate to utils/token, and apply to other instances #27088
refactor: memoize fetchErc20Decimals, relocate to utils/token, and apply to other instances #27088
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
- we currently have a patch with custom non-hex string
Builds ready [dba0ba3]
Page Load Metrics (1681 ± 89 ms)
Bundle size diffs
|
Builds ready [5602fd9]
Page Load Metrics (1702 ± 110 ms)
Bundle size diffs
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #27088 +/- ##
===========================================
- Coverage 69.95% 69.95% -0.00%
===========================================
Files 1441 1443 +2
Lines 50099 50095 -4
Branches 14007 14005 -2
===========================================
- Hits 35046 35043 -3
+ Misses 15053 15052 -1 ☔ View full report in Codecov by Sentry. |
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.
Minor, given there is very little in index.ts
currently, do we warrant this level of modularity?
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.
questionable, so updated this to share ui/pages/confirmations/utils/token.ts
Builds ready [a7c315d]
Page Load Metrics (1545 ± 75 ms)
Bundle size diffs
|
This reverts commit 4f8e366.
oops, accidentally merged a commit. Reverted after. May I get a reapproval please? @matthewwalsh0 |
Quality Gate passedIssues Measures |
Builds ready [99cfb20]
Page Load Metrics (1895 ± 107 ms)
Bundle size diffs
|
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.
👍
Description
Related issues
Fixes: #24374
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist