superfluid-finance / superfluid-explorer

The new and improved Superfluid Explorer, built with SDK-Core, SDK-Redux & Next.js & MaterialUI
https://explorer.superfluid.finance
MIT License
22 stars 29 forks source link

bug fix: fetch token total supply from rpc #204

Closed kasparkallas closed 7 months ago

kasparkallas commented 7 months ago

Why? What?

For some reason, the total supply is not mapped correctly for all tokens on the Subgraph: https://github.com/superfluid-finance/protocol-monorepo/issues/1815

Token with a buggy total supply (ALEPH): https://console.superfluid.finance/avalanche-c/supertokens/0xc0Fbc4967259786C743361a5885ef49380473dCF?tab=streams

https://snowtrace.io/token/0xc0Fbc4967259786C743361a5885ef49380473dCF?chainId=43114

How?

So the solution for now can be to map the value from the RPC.

vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
superfluid-console ✅ Ready (Inspect) Visit Preview Jan 28, 2024 3:12pm
currents-bot[bot] commented 7 months ago

Cypress Tests tests failed after 17m 48s

🟢 63 · 🔴 15 · ⚪️ 0

View Run Details

Run Details

- Project: Console - Groups: 1 - Framework: Cypress - Run Status: Failed - Commit: 5a620d4f41ab43d8115603be23cbafaa73d6cc9a - Spec files: 11 - Overall tests: 78 - Duration: 17m 48s - Parallelization: 2

Failed Spec Files

| Spec File | Failures | | ------------- | ------------- | | [cypress/e2e/AccountPage.feature](https://app.currents.dev/instance/uy6kjpKg29BH) | 7 | | [cypress/e2e/PoolPage.feature](https://app.currents.dev/instance/4I8j9HLxzbIe) | 3 | | [cypress/e2e/Common.feature](https://app.currents.dev/instance/NWWXPiKrEnFN) | 1 | | [cypress/e2e/IndexPage.feature](https://app.currents.dev/instance/TRkJlzEfgfNk) | 1 | | [cypress/e2e/IndexSubscriptionPage.feature](https://app.currents.dev/instance/sh0HAvqccVpq) | 1 | | [cypress/e2e/PoolMemberPage.feature](https://app.currents.dev/instance/Ok67JSaNeYqa) | 1 | | [cypress/e2e/TokenPage.feature](https://app.currents.dev/instance/w6EvDY9g1cGK) | 1 |


This message was posted automatically by currents.dev | Integration Settings