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

[3/3] - Replace Legacy History Commitment Implementation #686

Open
wants to merge 11 commits into
base: replace-history-commits
Choose a base branch
from

Conversation

rauljordan
Copy link
Collaborator

@rauljordan rauljordan commented Sep 16, 2024

Uses the new history commitment impl across codebase.

TODO: Stop padding last hashes in the testing/l2-state-provider mock

NOTE: The remaining tests seem to fail when posting a block challenge root edge, because of an inclusion proof verification failing. This is because the inclusion proof for the last leaf of a history commitment is only computed if the virtual size is a power of two, but our layer zero edge sizes are 2^26 + 1, 2^20 + 1, and 2^22 + 1, respectively which are not powers of two :(. Need to figure out how we can address this, or choose layer zero edge sizes that are powers of two

@rauljordan rauljordan changed the base branch from main to replace-history-commits September 16, 2024 21:35
@eljobe eljobe self-assigned this Sep 26, 2024
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