-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix: Missing POL percentage trend #13812
Conversation
…ero address native tokens
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. |
|
|
|
Description
1 day percent change was not displaying on POL token list item. This is because we were relying on the
zeroAddress
utility from ethers.js. This is not always correct, because POL is a native token without a zero address.This PR leverages the
getNativeTokenAddress
utility from assets controllers to handle this override. Percent change should now be visible.Related issues
Fixes: #12730
Manual testing steps
Screenshots/Recordings
Pre-merge author checklist
Pre-merge reviewer checklist