Skip to main content

call_tracer_frame

Function call_tracer_frame 

Source
pub(super) fn call_tracer_frame(
    response: Result<GethTrace, TransportError>,
    method: &str,
    local_hint: &str,
    missing_state_hint: &str,
) -> Result<CallFrame>
Expand description

Extracts the callTracer frame from a debug_trace* response.

Two RPC rejections deserve an actionable hint instead of the raw transport error, and they need different fixes: a disabled debug namespace, and missing historical state, hit whenever a full node has pruned the traced block.