Repository navigation
fix(rpc): say that the call tracer is specified upstream but not here - #5348
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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, specifiesCallFrame(call-tracer.yaml) and the methoddebug_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 forcallTracer.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:
callTracerfails as an invalid parameter with its own reason;Example
For reviewers
TraceView.leanmove to32fae20, and the anchor of the entry schema follows its new lines.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,tyon the changed test: clean.🤖 Generated with Claude Code