sushiswap / sushiswap-subgraph

Sushiswap Subgraph
https://thegraph.com/explorer/subgraph/sushiswap/sushiswap
MIT License
150 stars 257 forks source link

Sushiswap Matic: Certain swap transactions not showing up anymore #95

Open oldmanfleming opened 2 years ago

oldmanfleming commented 2 years ago

Hi there,

I have a reference swap transaction on sushiswap matic exchange that can be found here: https://polygonscan.com/tx/0x27ca6dce7210626ab2c1fe8496b0619e1ae4c43ca70ae3d28675e863721e8a2f

Query url: https://api.thegraph.com/subgraphs/name/sushiswap/matic-exchange

When I try to query that transaction using the below query I no longer see the swap in the results. This transaction was showing up for me in the past. I'm not sure what has changed recently.

{
  swaps(where : { transaction: "0x27ca6dce7210626ab2c1fe8496b0619e1ae4c43ca70ae3d28675e863721e8a2f" }){
    to
    sender
    timestamp
    amountUSD
    amount0In
    amount1In
    amount0Out
    amount1Out
  }
}

Unexpected Result:

{
  "data": {
    "swaps": []
  }
}

Let me know if this is not the right place for posting this issue.

Cheers

oldmanfleming commented 2 years ago

From reading some of the other open issues, it appears that this may be related to a referenced bug that was introduced and is intended to be rolled back. Let me know if my issue is related and I should simply hold on for a fix