reth
reth copied to clipboard
`debug_traceTransaction` `enableReturnData` should be ignored for RPC responses
Describe the feature
the response type StructLogRes doesn't even include a returnData field, and this is only used for local debugging.
It should simply be ignored so we don't capture return data that we don't need
it's only used for debug_standardTraceBlockToFile and debug_standardTraceBadBlockToFile rpc calls
TODO
- document extra fields in
StructLogtype (StructLogRes) - ignore
enableReturnDatasetting for regulardebug_tracecalls that return RPC
is this correct @shekhirin ?
Additional context
No response
Yes, that sounds right!
This issue is stale because it has been open for 14 days with no activity.
@mattsse is this still relevant?
yeah, the pr is still blocked because revm pr is not included in the patch. I could finish it though with some extra code though, I think I'll just do that
This issue is stale because it has been open for 14 days with no activity.
actually, since enableReturnData is opt-in, it would be more effort to remove support for it in the regular rpc calls