-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Align debug_traceBlock/Transaction with geth #8186
base: master
Are you sure you want to change the base?
Conversation
a196b11
to
80a464d
Compare
src/Nethermind/Nethermind.Evm/Tracing/GethStyle/GethLikeTxTraceConverter.cs
Outdated
Show resolved
Hide resolved
719e15e
to
0566de5
Compare
Why does geth think we do not need hex prefix? |
I don't have an answer, but I've asked Geth folks in their Discord. Will come back when they respond. |
Geth triaged it as a bug and committed to fixing it. I'll update this PR to return |
5e111e3
to
3433f96
Compare
3433f96
to
860a90c
Compare
860a90c
to
922c1ff
Compare
Changes
Updates
debug_traceBlock
anddebug_traceTransaction
to have response structures aligned withgeth
debug_traceBlock diffs (before and after)
Options:
{"disableMemory": true, "disableStack": true, "disableStorage": true, "enableMemory": false}
Options:
{"tracer": "4byteTracer"}
Options:
{"tracer": "callTracer"}
Options:
{"tracer": "prestateTracer"}
Options:
{"tracer": "{gasUsed: [], step: function(log) { this.gasUsed.push(log.getGas()); }, result: function() { return this.gasUsed; }, fault: function(){}}"}
debug_traceTransaction diffs (before and after)
Options:
{"disableMemory": false, "disableStack": false, "disableStorage": false, "enableMemory": false}
Options:
{"tracer": "4byteTracer"}
Options:
{"tracer": "callTracer"}
No changes required.
Options:
{"tracer": "prestateTracer"}
No changes required.
Options:
{"tracer": "{gasUsed: [], step: function(log) { this.gasUsed.push(log.getGas()); }, result: function() { return this.gasUsed; }, fault: function(){}}"}
No changes required.
Types of changes
What types of changes does your code introduce?
Testing
Requires testing
If yes, did you write tests?
Documentation
Requires documentation update
Requires explanation in Release Notes
Theses are breaking changes so we need to mention it in release notes.