v3-subgraph
v3-subgraph copied to clipboard
Transactions are reporting gas limit rather than gas used.
The transaction object has a gasUsed field. However, the value being returned in this field is actually the gas limit, not the gas used.
See attached screenshots.
Hello, thanks for noticing. There doesn't seem to be a bug in the subgraph code (see relevant line) so I am assuming there is something going on in the graph API. I asked graph support here to figure out whether it's a bug in the mappings library.
Best, Jan
This is caused by a bug in graph-ts: https://github.com/graphprotocol/graph-ts/issues/80
Hi @benesjan , it seems like graph-ts solved it. Is this also going to be fixed on the Uniswap side? Also seems that the transaction object now holds more information (like the events for example)
still having this issue!