onflow / flow-evm-gateway

FlowEVM Gateway implements an Ethereum-equivalent JSON-RPC API for EVM clients to use
https://developers.flow.com/evm/about
Apache License 2.0
11 stars 9 forks source link

Debug information for transaction #508

Open sideninja opened 2 months ago

sideninja commented 2 months ago

We should add a debug endpoint that provides also Flow information about a transaction.

The endpoint could be something like: debug_getTransactionByHash which would return all the information it has of the transaction inside EVM: transaction payload, transaction receipt, but also all Flow related data, Flow transaction, Flow hash, Flow fees etc.

sideninja commented 2 months ago

We should also store transaction result error message (result.ErrorMessage) and all other fields that are not indexed now