Fix debug_traceCall to handle underpriced transactions#7510
Fix debug_traceCall to handle underpriced transactions#7510fab-10 merged 6 commits intobesu-eth:mainfrom
Conversation
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
| } | ||
| } | ||
|
|
||
| protected Object resultByBlockHeader( |
There was a problem hiding this comment.
This method doesn't appear to be used anywhere in DebugTraceCall
There was a problem hiding this comment.
Hi, yeah, I just removed it, I also removed the errorResponse method. Weirdly, the compiler caught that errorResponse was not being used anywhere when I tried compiling and building after removing resultByBlockHeader right now but didn't catch resultByBlockHeader...
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
fab-10
left a comment
There was a problem hiding this comment.
This fix the issue with debug_traceCall, but since it part of a group of RPC methods extending the AbstractTraceByBlock class, it is better to review if the issue affects other methods in the group, and compare the behavior with other clients to be sure there are not other differences.
@fab-10 What do you expect the next steps to be here? |
|
@7suyash7 first I suggest to review if |
Hi, @fab-10, Here is the output from each one of them:
Let me know if you need further information or want me to conduct additional tests. |
|
Thanks @7suyash7 for checking, I think that is enough and the change can be limited to this call, could you just add a test case and a changelog entry to complete the fix? |
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
|
LGTM |
Fixes: #7503 where
debug_traceCallwas failing due to gas price checks, whileeth_callwas succeeding.Output from
debug_traceCall