From cc07116c4a8cd574625d278ab53f4f2ab4b8e922 Mon Sep 17 00:00:00 2001 From: jsvisa Date: Sat, 14 Dec 2024 10:12:30 +0800 Subject: [PATCH] typo Signed-off-by: jsvisa --- .../evm-tracing/built-in-tracers.md | 68 ++++++++----------- 1 file changed, 30 insertions(+), 38 deletions(-) diff --git a/docs/developers/evm-tracing/built-in-tracers.md b/docs/developers/evm-tracing/built-in-tracers.md index a478ef8150..bb17f1e8f2 100644 --- a/docs/developers/evm-tracing/built-in-tracers.md +++ b/docs/developers/evm-tracing/built-in-tracers.md @@ -59,43 +59,35 @@ Return: ```terminal { - "gas":25523, - "failed":false, - "returnValue":"", - "structLogs":[ - { - "pc":0, - "op":"PUSH1", - "gas":64580, - "gasCost":3, - "depth":1, - "error":null, - "stack":[ - - ], - "memory":null, - "storage":{ - - } - }, - { - "pc":2, - "op":"PUSH1", - "gas":64577, - "gasCost":3, - "depth":1, - "error":null, - "stack":[ - "0000000000000000000000000000000000000000000000000000000000000060" - ], - "memory":null, - "storage":{ - - } - }, - - ... - + "gas": 25523, + "failed": false, + "returnValue": "", + "structLogs": [ + { + "pc": 0, + "op": "PUSH1", + "gas": 64580, + "gasCost": 3, + "depth": 1, + "error": null, + "stack": [ ... ], + "memory": null, + "storage": { ... } + }, + { + "pc": 2, + "op": "PUSH1", + "gas": 64577, + "gasCost": 3, + "depth": 1, + "error": null, + "stack": [ + "0000000000000000000000000000000000000000000000000000000000000060" + ], + "memory": null, + "storage": { ... } + }, + ... ``` ## Native tracers {#native-tracers} @@ -112,7 +104,7 @@ The `4byteTracer` collects the function selectors of every function executed in Example call: ```sh -debug.traceTransaction( "0x214e597e35da083692f5386141e69f47e973b2c56e7a8073b1ea08fd7571e9de", {tracer: "4byteTracer"}) +debug.traceTransaction("0x214e597e35da083692f5386141e69f47e973b2c56e7a8073b1ea08fd7571e9de", {tracer: "4byteTracer"}) ``` Return: