Skip to content

Record Block information as Part of Gas Dimension Live Tracer #479

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

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

relyt29
Copy link
Collaborator

@relyt29 relyt29 commented Jun 26, 2025

Adds some additional info (block base fee) for the live tracer to trace, and saves the block information to protobuf format rather than raw txt file

Note: the target of this PR is PR #476, rather than master

@relyt29 relyt29 requested review from eljobe and amsanghi June 26, 2025 15:34
@cla-bot cla-bot bot added the s CLA signed label Jun 26, 2025
@relyt29 relyt29 removed their assignment Jun 26, 2025
@relyt29 relyt29 marked this pull request as draft June 26, 2025 16:19
@relyt29 relyt29 assigned relyt29 and unassigned eljobe Jun 26, 2025
@relyt29 relyt29 marked this pull request as ready for review June 26, 2025 16:43
@relyt29 relyt29 assigned eljobe and unassigned relyt29 Jun 26, 2025
Base automatically changed from relyt29/tracer-call-bug-squashing to master June 27, 2025 06:55
eljobe
eljobe previously approved these changes Jun 27, 2025
@eljobe
Copy link
Member

eljobe commented Jun 27, 2025

Hey @relyt29, sorry. I went ahead and merged #476 before realizing that you wanted to get this one in on top of it.
So, we'll need a separate PR to pull this into the nitro repo.

@eljobe eljobe assigned relyt29 and unassigned eljobe Jun 27, 2025
@relyt29 relyt29 marked this pull request as draft June 27, 2025 17:50
@relyt29 relyt29 force-pushed the relyt29/tracer-block-info branch from 3e78e7f to af08687 Compare June 27, 2025 17:55
relyt29 added 9 commits July 2, 2025 13:02
This commit deletes the async vibe coded solution for writing
transactions to disk in favor of writing them to disk synchronously in
batches of 1000 instead. It also replaces calls out to the statedb in
favor of using the logger.AccessListTracer which maintains a duplicate
parallel copy of the access list but also stores it in a map for faster
lookup. Hopefully these efforts help performance of the live tracer to
stay synced to the tip of the chain :(
@relyt29 relyt29 force-pushed the relyt29/tracer-block-info branch from 0142810 to be52b6a Compare July 2, 2025 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants