Closed mendesfabio closed 11 months ago
As this query shows, https://github.com/duneanalytics/spellbook/pull/4960 successfully handles this issue. Once it's reviewed and merged, we should be safe against pricing issues on weighted pool's TVL.
could you compare your query vs balancer.liquidity
for this pool? I'm curious what the results look like now and what happened to balancer.liquidity
after trades happened last week
given the limitations on prices for the EPOCH token, the 'new' calculation for liquidity (on the open PR) is much more up-to-date and precise, following the fluctuations shown on the frontend
yea, agreed, was just wondering how balancer.liquidity
responded to last trades. let's keep this issue open as a reminder to get back to Pibbles on Discord once PR is merged.
PR merged and issue fixed
Pibbles (Discord) reached out reporting EPOCH/WETH pool TVL is understimated on Dune
I quickly investigated the problem and answered him
If we estimated this pool's TVL based on weights and WETH price that would not be a problem. It also made me think we shouldn't fill prices if there's too much days without one. After fix is implemented/merged, get back to this guy on Discord.