From 3b47d95e1d709419c517d45689b29084a2a08346 Mon Sep 17 00:00:00 2001 From: Ev Date: Wed, 27 Oct 2021 04:09:17 -0400 Subject: [PATCH] docs: fix debug_traceCall example (#23817) * Fixes debug_traceCall example - Closes double quote, fixing syntax error on debug.traceCall example - Uses double quotes on call object, to make it easier to paste to raw RPC requests * nitpick: fixes length of `from` address on debug_traceCall example --- docs/_rpc/ns-debug.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/_rpc/ns-debug.md b/docs/_rpc/ns-debug.md index 068d203326..9a2fe100c9 100644 --- a/docs/_rpc/ns-debug.md +++ b/docs/_rpc/ns-debug.md @@ -575,12 +575,12 @@ No specific call options: Tracing a call with a destination and specific sender, disabling the storage and memory output (less data returned over RPC) ``` debug.traceCall({ - from: "0xdeadbeef292929291929394949595949339292929, - to:"0xde929f939d939d393f939393f93939f393929023", - gas: "0x7a120", - data: "0xf00d4b5d00000000000000000000000001291230982139282304923482304912923823920000000000000000000000001293123098123928310239129839291010293810" - }, - "latest", {disableStorage:true, disableMemory: true}) + "from": "0xdeadbeef29292929192939494959594933929292", + "to": "0xde929f939d939d393f939393f93939f393929023", + "gas": "0x7a120", + "data": "0xf00d4b5d00000000000000000000000001291230982139282304923482304912923823920000000000000000000000001293123098123928310239129839291010293810" + }, + "latest", {"disableStorage": true, "disableMemory": true}) ``` Curl example: ```