feat(rpc): implement Parity trace_ namespace (9 methods)#121
Draft
prestwich wants to merge 9 commits intoprestwich/eng-960-rpc-namespace-completenessfrom
Draft
feat(rpc): implement Parity trace_ namespace (9 methods)#121prestwich wants to merge 9 commits intoprestwich/eng-960-rpc-namespace-completenessfrom
prestwich wants to merge 9 commits intoprestwich/eng-960-rpc-namespace-completenessfrom
Conversation
8221a2c to
b3d7ca3
Compare
9af104c to
4dd2e29
Compare
b3d7ca3 to
552d4ff
Compare
4dd2e29 to
03bbd7c
Compare
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Implements the trace_block and trace_transaction async RPC handlers, calling the existing trace_block_localized helper for block-level and per-transaction Parity trace output. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…e_get, and trace_filter Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Creates trace/mod.rs with the router constructor and wires it into the combined router. Fixes HashSet type mismatch (std to alloy) and removes erroneous accept_state() call on already-needs-tx state. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
552d4ff to
d3034ae
Compare
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.
Summary
Implements the complete Parity/OpenEthereum
trace_JSON-RPC namespace (9 methods) insignet-rpcfor Blockscout and general tooling compatibility. Stacks on top of #120.trace_block,trace_transaction,trace_get— localized Parity tracestrace_replayBlockTransactions,trace_replayTransaction— replay with trace type selection (trace,vmTrace,stateDiff)trace_call,trace_callMany— call tracing with state/block overrides and accumulated statetrace_rawTransaction— trace from raw RLP bytestrace_filter— brute-force block range filter with configurable limit (default 100, envSIGNET_RPC_MAX_TRACE_FILTER_BLOCKS)Architecture: new
tracemodule mirroringdebug; two shared Parity tracer functions indebug/tracer.rs; two shared block replay helpers; all handlers semaphore-gated.Closes ENG-2088, ENG-1064, ENG-1065
Test plan
cargo t -p signet-rpc— 35 unit + 6 doc-tests passcargo clippy -p signet-rpc --all-features --all-targets— cleancargo clippy --all-features --all-targets— workspace cleancargo +nightly fmt --check— clean🤖 Generated with Claude Code