Skip to content
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

Fix empty forkid and parenthash in l2block read from datastream #1756

Open
wants to merge 1 commit into
base: zkevm
Choose a base branch
from

Conversation

KyrinCode
Copy link

@KyrinCode KyrinCode commented Feb 14, 2025

Fixes #1740

Original l2block in proto doesn't have forkid and parenthash. I believe this is a bug of implementation because the type FullL2Block read from datastream has these two fields and now they are both empty. After this fix, they will be written to datastream correctly, and ReadBatches in data_stream_server.go can read out all fields correctly.

Copy link

cla-bot bot commented Feb 14, 2025

We require contributors/corporates @KyrinCode to read our Contributor License Agreement, please check the Individual CLA document/Corporate CLA document

@revitteth
Copy link
Collaborator

@KyrinCode please could you try to bump these PRs to get the cla-bot to respond? I can't manually re-run it seems.

@revitteth
Copy link
Collaborator

With regards to this PR in particular - I'm going to come back to it later - need some time to check some things with it. So for now we will park if that's ok.

@cla-bot cla-bot bot added the cla-signed label Feb 25, 2025
@KyrinCode KyrinCode force-pushed the kyrin/fix-empty-forkid-parenthash-of-l2block-from-datastream branch from da204d0 to b6067e2 Compare February 26, 2025 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Problem] Mismatch occurs when resequencing using ReadBatches() from datastream.
2 participants