mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
typo
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
543a8566de
commit
cc07116c4a
1 changed files with 30 additions and 38 deletions
|
|
@ -59,43 +59,35 @@ Return:
|
||||||
|
|
||||||
```terminal
|
```terminal
|
||||||
{
|
{
|
||||||
"gas":25523,
|
"gas": 25523,
|
||||||
"failed":false,
|
"failed": false,
|
||||||
"returnValue":"",
|
"returnValue": "",
|
||||||
"structLogs":[
|
"structLogs": [
|
||||||
{
|
{
|
||||||
"pc":0,
|
"pc": 0,
|
||||||
"op":"PUSH1",
|
"op": "PUSH1",
|
||||||
"gas":64580,
|
"gas": 64580,
|
||||||
"gasCost":3,
|
"gasCost": 3,
|
||||||
"depth":1,
|
"depth": 1,
|
||||||
"error":null,
|
"error": null,
|
||||||
"stack":[
|
"stack": [ ... ],
|
||||||
|
"memory": null,
|
||||||
],
|
"storage": { ... }
|
||||||
"memory":null,
|
|
||||||
"storage":{
|
|
||||||
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pc":2,
|
"pc": 2,
|
||||||
"op":"PUSH1",
|
"op": "PUSH1",
|
||||||
"gas":64577,
|
"gas": 64577,
|
||||||
"gasCost":3,
|
"gasCost": 3,
|
||||||
"depth":1,
|
"depth": 1,
|
||||||
"error":null,
|
"error": null,
|
||||||
"stack":[
|
"stack": [
|
||||||
"0000000000000000000000000000000000000000000000000000000000000060"
|
"0000000000000000000000000000000000000000000000000000000000000060"
|
||||||
],
|
],
|
||||||
"memory":null,
|
"memory": null,
|
||||||
"storage":{
|
"storage": { ... }
|
||||||
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Native tracers {#native-tracers}
|
## Native tracers {#native-tracers}
|
||||||
|
|
@ -112,7 +104,7 @@ The `4byteTracer` collects the function selectors of every function executed in
|
||||||
Example call:
|
Example call:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
debug.traceTransaction( "0x214e597e35da083692f5386141e69f47e973b2c56e7a8073b1ea08fd7571e9de", {tracer: "4byteTracer"})
|
debug.traceTransaction("0x214e597e35da083692f5386141e69f47e973b2c56e7a8073b1ea08fd7571e9de", {tracer: "4byteTracer"})
|
||||||
```
|
```
|
||||||
|
|
||||||
Return:
|
Return:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue