mirror of https://github.com/hyperledger/besu
Fix debug_traceCall to handle underpriced transactions (#7510)
* Fix debug_traceCall to handle underpriced transactions Signed-off-by: 7suyash7 <suyashnyn1@gmail.com> * remove unused methods Signed-off-by: 7suyash7 <suyashnyn1@gmail.com> * Add test case and changelog entry for debug_traceCall fix Signed-off-by: 7suyash7 <suyashnyn1@gmail.com> --------- Signed-off-by: 7suyash7 <suyashnyn1@gmail.com> Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>pull/7616/head
parent
31c174b0c6
commit
5df2a71a4d
@ -0,0 +1,42 @@ |
||||
{ |
||||
"request": { |
||||
"jsonrpc": "2.0", |
||||
"method": "debug_traceCall", |
||||
"params": [ |
||||
{ |
||||
"to": "0x0aae40965e6800cd9b1f4b05ff21581047e3f91e", |
||||
"data": "0x000000000000000000000000000000000000000000000000000000000001A00E" |
||||
}, |
||||
"latest", |
||||
{ |
||||
"disableMemory": true, |
||||
"disableStack": true, |
||||
"disableStorage": true |
||||
} |
||||
], |
||||
"id": 1 |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 1, |
||||
"result": { |
||||
"gas": 21164, |
||||
"failed": false, |
||||
"returnValue": "", |
||||
"structLogs": [ |
||||
{ |
||||
"pc": 0, |
||||
"op": "STOP", |
||||
"gas": 17592186023252, |
||||
"gasCost": 0, |
||||
"depth": 1, |
||||
"stack": null, |
||||
"memory": null, |
||||
"storage": null, |
||||
"reason": null |
||||
} |
||||
] |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
Loading…
Reference in new issue