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

Set zero timestamp for genesis batch #78

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

sveitser
Copy link
Collaborator

This is a workaround to ensure the timestamp of batch 1 (which is determined by the L1 block referred in the HotShot block) is larger than the timestamp of the genesis batch (batch 0).

For more details see: EspressoSystems/espresso-sequencer#631

This is a workaround to ensure the timestamp of batch 1 (which is
determined by the L1 block referred in the HotShot block) is larger than
the timestamp of the genesis batch (batch 0).
@sveitser sveitser marked this pull request as draft September 26, 2023 12:57
@sveitser
Copy link
Collaborator Author

sveitser commented Sep 26, 2023

This would probably sync the entire chain so need to be more careful.

Edit: No, timestamp doesn't seem to be used in determining what to sync and checking for reorgs.

@sveitser sveitser marked this pull request as ready for review September 26, 2023 13:06
@sveitser sveitser merged commit 066378d into hotshot-integration Sep 26, 2023
2 checks passed
@sveitser sveitser deleted the genesis-batch-timestamp-workaround branch September 26, 2023 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants