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

#4451 - L1 head used for compression can be stale #2257

Closed
wants to merge 1 commit into from

Conversation

StefanIliev545
Copy link
Contributor

Why this change is needed

L1 head used for compression can be stale; If the block is not in the canonical chain on the l1, the rollup should not be accepted by the management contract as nodes will not be able to decompress it. However if a block is too old, then its never going to be available in the EVM; This ensures we always use latest block in order to make rollups reconstructible.

What changes were made as part of this PR

Changed from using a block at a height to always using head cannon block

PR checks pre-merging

Please indicate below by ticking the checkbox that you have read and performed the required
PR checks

  • PR checks reviewed and performed

@tudor-malene
Copy link
Collaborator

@StefanIliev545 , this can be closed I guess

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