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
Output format inconsistent between JS and native tracers in traceBlock* #26586
Comments
Maybe is a question about rpc response of quicknode, you can paste the raw request/response here for more information. |
But there were results only not nested? Because in case of an error the |
I've noted an inconsistency between JS and native tracers introduced here: #24283. Basically in case an error is encountered for any tx, traceBlock will return nil result and the error for native tracers, vs. it returning partial results for JS tracers. go-ethereum/eth/tracers/api.go Lines 636 to 639 in 3a79a99
|
I used the call tracer. Here is the output. Looks like I can't reproduce the issue anymore with quicknode, might be a format upgrade but before, each transaction trace wouldn't be nested inside the "result" key (for blocks > 30 mins from tip) i.e
instead of
|
Ok I will re-use this issue for the inconsistency I mentioned above. But please write if you saw the original issue happening again. |
I tried the Debug_traceBlockByNumber endpoint and got different json structure. For blocks that were less than 30 mins from tips, it seemed the traceCalls results are wrapped inside the "result" key. However it is not the same for blocks that were more than 30 mins from tips. These calls were made using quicknode which claims they are using Geth 1.10
The text was updated successfully, but these errors were encountered: