fix: patch for token rates controller with new price api endpoint#7957
fix: patch for token rates controller with new price api endpoint#7957
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. |
|
E2E test started on Bitrise: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/51125aa2-b748-49b3-9bb7-42c7980a9e5b |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7957 +/- ##
==========================================
- Coverage 36.70% 36.60% -0.11%
==========================================
Files 1074 1092 +18
Lines 28930 29177 +247
Branches 2630 2678 +48
==========================================
+ Hits 10620 10680 +60
- Misses 17712 17885 +173
- Partials 598 612 +14 ☔ View full report in Codecov by Sentry. |
|
E2E failling but manually can't replicate: https://recordit.co/rzf3OWRlpb Searching the token can't find XRP Checked on last version of testflight as well Failling on main as well |
|
The duplicate calls are concerning 🤔 maybe we need to bring in a few more changes from upstream, that should be fixed there. We'll also want to strongly consider adjusting the polling interval before switching to this API, to reduce traffic volume |
…at token rates controller its called between events
… undefined because of the networl controller version being outdated
@tommasini this was fixed. Pull in the latest main |
|
E2E workflows now again: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/51125aa2-b748-49b3-9bb7-42c7980a9e5b |
| + 1284: 'moonbeam', | ||
| + 1285: 'moonriver', | ||
| + 8453: 'base', | ||
| + 8545: 'shiden network', |
There was a problem hiding this comment.
Hi @tommasini! I'm working on copying these changes over to TokenRatesController in the core monorepo. I was cross-referencing this list with https://chainid.network, and it seems that this chain ID should be 336 (there doesn't seem to be a 8545). What are your thoughts?
There was a problem hiding this comment.
Sorry for taking so long to answer @mcmire
We should talk about this, because this list is from our api team!
Amazing catch by the way!
|
Kudos, SonarCloud Quality Gate passed! |
|
I will let this PR open for reference but when our internal endpoint it's ready I will recreate it for not spend time with the conflicts, with this being said I will turn it into a draft for now |
|
Closing this draft since this is already shipped |










Description
Patch for update to new price api the fetch the token rates to deprecate the coin gecko endpoint
Branch on core that it's easier to read the compiled code on the patch
Related issues
Fixes: #
Manual testing steps
Screenshots/Recordings
This recording shows as well the number of fetches being made on different states of the app.
https://recordit.co/7zfxfz9esB
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist