forked from hyperledger/besu
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix debug_traceCall to handle underpriced transactions (hyperledger#7510
) * Fix debug_traceCall to handle underpriced transactions Signed-off-by: 7suyash7 <[email protected]> * remove unused methods Signed-off-by: 7suyash7 <[email protected]> * Add test case and changelog entry for debug_traceCall fix Signed-off-by: 7suyash7 <[email protected]> --------- Signed-off-by: 7suyash7 <[email protected]> Signed-off-by: Fabio Di Fabio <[email protected]> Co-authored-by: Fabio Di Fabio <[email protected]>
- Loading branch information
Showing
3 changed files
with
54 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...rg/hyperledger/besu/ethereum/api/jsonrpc/debug/trace-call/debug_traceCall_noGasPrice.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |