-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Updates for trace methods #2474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Updates for trace methods #2474
Conversation
Signed-off-by: m4sterbunny <[email protected]>
|
@m4sterbunny is attempting to deploy a commit to the Consensys Team on Vercel. A member of the Team first needs to authorize it. |
…response object Signed-off-by: m4sterbunny <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| | Method | Diagnostic options | | ||
| |-----------------------|-------------------------------------------| | ||
| |[`trace_block`](trace_block.mdx)|[`trace`](#trace)| | ||
| |[`trace_call`](trace_call.mdx)|[`trace`](#trace), [`stateDiff`](#statediff)| | ||
| |[`trace_callMany`](trace_callmany.mdx)|[`trace`](#trace), [`stateDiff`](#statediff)| | ||
| |[`trace_transaction`](trace_transaction.mdx)|[`trace`](#trace)| | ||
| |[`trace_filter`](trace_filter.mdx)|[`trace`](#trace)| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the previous note might be more accurate than the table. For trace_block, trace_transaction, and trace_filter, there are no "diagnostic options," the methods just always return trace information.
| | `to` | Target of the transaction. | | ||
| | `value` | Value transferred in the transaction. | | ||
| | - `creationMethod` | Opcode used during contract creation: `create` or `create2`. Returned for `create` operations. | | ||
| | - `callType` | Whether the transaction is `call`, `staticcall`, `delegatecall`. Returned for `call` operations. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | - `callType` | Whether the transaction is `call`, `staticcall`, `delegatecall`. Returned for `call` operations. | | |
| | - `callType` | Whether the transaction is `call`, `staticcall`, or `delegatecall`. Returned for `call` operations. | |
| - `+` indicates the field didn’t exist before and now has the specified value | ||
| - `-` indicates a deleted value | ||
| - `*` has a `from` and a `to` value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - `+` indicates the field didn’t exist before and now has the specified value | |
| - `-` indicates a deleted value | |
| - `*` has a `from` and a `to` value | |
| - `+` indicates the field didn't exist before and now has the specified value. | |
| - `-` indicates a deleted value. | |
| - `*` has a `from` and a `to` value. |
Nit: these are complete sentences, so the periods should stay.
Description
Simplified page with methods table showing diagnostic options per method
Added note about generic trace handling (dynamic field support)
Documented creationMethod field (create or create2)
Updated trace_filter description: 100 block limit per query on mainnet/Sepolia
Minor proofing round of current key:value table to better align with response object
Minor proof subtraces (tag along fix)
Issue(s) fixed
Fixes #2473
Preview
Checklist
External contributor checklist
Note
Refactors trace docs with a methods-to-diagnostics table, documents additional trace fields, adds a caution on generic responses, clarifies trace_filter’s 100-block range limit, and normalizes subtraces casing.
services/reference/ethereum/json-rpc-methods/trace-methods/index.md.creationMethod, broadencallType, addinit,code, clarifysubtraces, and refinetransactionPositiontext.stateDiffsymbol descriptions._trace_filter-description.mdxto state a 100-block range limit per query.subtracesinservices/reference/linea/.../trace-methods/index.md.Written by Cursor Bugbot for commit 1e6c032. This will update automatically on new commits. Configure here.