v3-subgraph icon indicating copy to clipboard operation
v3-subgraph copied to clipboard

bug with derivedETH calculation resulting in wrong prices for stables on Optimism

Open mariorz opened this issue 2 years ago • 0 comments

Hi folks. So there is a bug in the subgraph that has resulted in very incorrect prices being shown for stables on Optimism. You can see here USDC displaying a price of $1.08 which is not real on chain. https://info.uniswap.org/#/optimism/tokens/0x7f5c764cbc14f9669b88837ca1490cca17c31607

We have a fix on our fork of the original subgraph on this commit, though our version has diverged somewhat from the original version.

Hope this helps.

https://github.com/revert-finance/uniswap-v3-subgraph/commit/b717971d549d33ee82a8945b360763dcfd67f872

mariorz avatar Feb 02 '23 16:02 mariorz