chain/ethereum: Include contract address and block number in ABI decode error messages by sueun-dev · Pull Request #6490 · graphprotocol/graph-node
Closes #3404
When ABI decoding fails for Ethereum call handlers, the error messages only show the function ABI and raw bytes. Adding the contract address and block number makes it easier to correlate failures with specific on-chain calls.
Changes in chain/ethereum/src/data_source.rs:
- Input decode error: add
call.to(contract address) andcall.block_number - Output decode error: add
call.to,call.block_number, and raw input bytes