Skip to content

Commit

Permalink
Update debug_traceBlock* docs (#1777)
Browse files Browse the repository at this point in the history
* Document truststore options

Signed-off-by: Alexandra Tran <[email protected]>

* add more context to descriptions

Signed-off-by: Alexandra Tran <[email protected]>

* Update debug_traceBlock* docs

Signed-off-by: Alexandra Tran <[email protected]>

* remove null reason

Signed-off-by: Alexandra Tran <[email protected]>

---------

Signed-off-by: Alexandra Tran <[email protected]>
Co-authored-by: Alexandra Tran <[email protected]>
  • Loading branch information
alexandratran and Alexandra Tran authored Feb 21, 2025
1 parent 349444b commit 02b1979
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions docs/public-networks/reference/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1763,13 +1763,16 @@ Returns full trace of all invoked opcodes of all transactions included in the bl
- `block`: _string_ - RLP of the block
- `options`: _object_ - request options object with the following fields (all optional and default to `false`):
- `options`: _object_ - (optional) request options object with the following fields:
- `disableStorage`: _boolean_ - `true` disables storage capture.
The default is `false`.
- `disableMemory`: _boolean_ - `true` disables memory capture.
The default is `true`.
- `disableStack` : _boolean_ - `true` disables stack capture.
The default is `false`.
#### Returns
Expand Down Expand Up @@ -1817,9 +1820,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"debug_traceBlock","params":["0xf
"gas": 0,
"gasCost": 0,
"depth": 1,
"stack": [],
"memory": [],
"storage": null
"stack": []
}
]
}
Expand All @@ -1838,13 +1839,16 @@ Returns full trace of all invoked opcodes of all transactions included in the bl
- `blockHash`: _string_ - block hash
- `options`: _object_ - request options object with the following fields (all optional and default to `false`):
- `options`: _object_ - (optional) request options object with the following fields:
- `disableStorage`: _boolean_ - `true` disables storage capture.
The default is `false`.
- `disableMemory`: _boolean_ - `true` disables memory capture.
The default is `true`.
- `disableStack` : _boolean_ - `true` disables stack capture.
The default is `false`.
#### Returns
Expand Down Expand Up @@ -1893,10 +1897,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"debug_traceBlockByHash","params"
"gas": 0,
"gasCost": 0,
"depth": 1,
"stack": [],
"memory": [],
"storage": {},
"reason": null
"stack": []
}
]
}
Expand All @@ -1922,13 +1923,16 @@ Returns full trace of all invoked opcodes of all transactions included in the bl
`pending` returns the same value as `latest`.
:::
- `options`: _object_ - request options object with the following fields (all optional and default to `false`):
- `options`: _object_ - (optional) request options object with the following fields:
- `disableStorage`: _boolean_ - `true` disables storage capture.
The default is `false`.
- `disableMemory`: _boolean_ - `true` disables memory capture.
The default is `true`.
- `disableStack` : _boolean_ - `true` disables stack capture.
The default is `false`.
#### Returns
Expand Down Expand Up @@ -1975,10 +1979,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"debug_traceBlockByNumber","param
"gas": 0,
"gasCost": 0,
"depth": 1,
"stack": [],
"memory": [],
"storage": null,
"reason": null
"stack": []
}
]
}
Expand Down

0 comments on commit 02b1979

Please sign in to comment.