Skip to content

fix(rpc): say that the call tracer is specified upstream but not here - #5348

Merged
tcoratger merged 1 commit into
ethereum:masterfrom
tcoratger:rpc-sync-3
Dec 2, 2026
Merged

tcoratger merged 1 commit into
ethereum:masterfrom
tcoratger:rpc-sync-3

Conversation

@tcoratger

Copy link
Copy Markdown
Collaborator

EthLib now says that execution-apis specifies the call tracer and debug_traceCall, and that EthLib does not serve them yet, instead of saying that every named tracer is out of the scope of the source.

The problem

ethereum/execution-apis#855, in the pin 32fae20, specifies CallFrame (call-tracer.yaml) and the method debug_traceCall.
SOUNDNESS.md and traceConfig (Execution/Rpc/TraceView.lean) still said that the source puts named tracers out of its scope, which is no longer true for callTracer.

The idea

Serving the call tracer needs more than a reader.
The opcode logger observes steps, and a step observer never sees how a child message ends: its error, its output and its gas left.
#5347 describes the work: the interpreter reports the end of each message to the observer, and the proofs that an observer leaves the run unchanged cover that event.
Until then, this pull request makes the text true:

  • callTracer fails as an invalid parameter with its own reason;
  • other named tracers fail as before, since their output stays out of the scope of the source;
  • SOUNDNESS.md and the fixtures README record the gap and link the issue.

Example

params: [<hash>, {"tracer": "callTracer"}]
before: {"code": -32602, "message": "Invalid params: tracer: named tracers are not supported"}
after:  {"code": -32602, "message": "Invalid params: tracer: the call tracer is not supported"}

For reviewers

Checks

  • lake build EthLib.Execution.Rpc EthLib.Execution.Proofs.Rpc --wfail: success.
  • lake exe check-decls EthLib.Execution.Rpc EthLib.Execution.Proofs.Rpc: 0 findings, 0 new, 0 stale.
  • pytest tests/rpc -n 8: 757 passed.
  • check_lean_layout.py --all --rule wrap, soundness_facts.py --check, check_fixture_pins.py, ruff, ty on the changed test: clean.

🤖 Generated with Claude Code

At 32fae20, ethereum/execution-apis#855 specifies the output of the
call tracer and the method debug_traceCall. SOUNDNESS.md and the reader
of the trace configuration still said that the source puts every named
tracer out of its scope.

A request for callTracer now fails with its own reason, and SOUNDNESS.md
records that EthLib does not serve the call tracer or debug_traceCall
yet. Issue ethereum#5347 describes what serving them needs: the interpreter
must report the end of each message to the observer. Other named
tracers stay out of the scope of the source. The trace sources move to
32fae20.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tcoratger
tcoratger merged commit 2a20c6e into ethereum:master Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant