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

USD values get messed up on Arbitrum due to low-liquidity

Open dmihal opened this issue 4 years ago • 0 comments

There's a transaction on Arbitrum (https://arbiscan.io/tx/0x1c295207effcdaa54baa7436068c57448ff8ace855b8d6f3f9c424b4b7603960) that throws the ETH/USDC pricing out of whack. This leads to a total fee number of 1701283934181940406345586170977804000000000000 USD 😂

These seem to be the options to fix the subgraph:

  • Set the subgraph start block number to be after the prices become normalized
  • Hardcode the ETH price for this duration of time
  • Use a different pool, such as ETH/USDC 0.05% or ETH/USDT

dmihal avatar Sep 02 '21 11:09 dmihal