feat(token): integrate indexer provider#195
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces an alternative "indexer" mode for the token data provider, allowing the system to query balances and total supply via a pre-materialized HTTP API instead of live gRPC scans. Key changes include the implementation of an HTTP client for the indexer, a new indexer-backed provider, and configuration updates to support mode selection. Feedback was provided to improve the robustness of error handling in the indexer client by ensuring that raw response bodies are captured as a fallback when JSON error decoding fails for non-2xx status codes.
salindne
left a comment
There was a problem hiding this comment.
Small fix, otherwise looks great
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (17.07%) is below the target coverage (50.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #195 +/- ##
=======================================
Coverage ? 32.92%
=======================================
Files ? 123
Lines ? 8563
Branches ? 0
=======================================
Hits ? 2819
Misses ? 5494
Partials ? 250
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Closes #192