Open schmidsi opened 2 years ago
For context, this is the transaction that failed with the above error: https://ftmscan.com/tx/0xa44fa1857fa5448419ff94682de1ffeccaa74eb0d6dc9d0de8fe37c6c2a90746
logging RPC call details is very helpful since currently there is nothing subgraph devs can do when a smart contract call fails :) I run into an RPC call issue recently that I couldn't figure out why the RPC call fails, see https://discordapp.com/channels/438038660412342282/438070183794573313/983912358038618162
Currently if something goes wrong with a JSON RPC call (eth-calls, decoding, etc) there is just a message like this displayed:
(From this example subgraph: https://thegraph.com/hosted-service/subgraph/bsamuels453/yearn-fantom-validation?selected=logs, deployment id: QmNhTkng5LLvdCXbK6JSoeU8tSW18wo3tPpm5mMM3Sd4FY)
This alone does not provide enough information to reproduce.
What is the expected behavior?
It would be great to have the exact JSON RPC call written in the logs so we can reproduce and troubleshoot the underlying issue.