-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add tracing by block logic for geth #1016
Conversation
72ba94f
to
7669249
Compare
7669249
to
178f8ec
Compare
I've updated the blockchain client to match the upstream format in this PR, it's already deployed to |
Hey @carterqw2 , this requires archive nodes to be deployed at 1fc347330 - correct? |
Yeah, I updated them on |
Description
Previously blockscout when using geth (unlike other clients) would trace transactions one by one, using the
debug_traceTransaction
RPC endpoint, that would result in an excessive number of requests for blocks with big number of TXs and unnecessary load on archive nodes. After switching from the custom JS tracer to thecallTracer
it became possible to usedebug_traceBlockByHash
ordebug_traceBlockByNumber
endpoints.This PR cherry-picks the following upstream commits:
bc30e00 and 4c2c9e3 that enable block tracing instead of individual TX tracing for geth.
Other changes
No.
Tested
Tests included in the commit.
Tested locally with rc1staging env.