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

[circuits] Remove unneeded public inputs for Root Rollup circuits #8829

Open
spalladino opened this issue Sep 26, 2024 · 1 comment
Open

Comments

@spalladino
Copy link
Collaborator

spalladino commented Sep 26, 2024

Double-check whether we need the following public inputs for the root rollup, and if not, remove them:

  • previous_block_hash: Should be committed to as part of the previous_archive
  • previous_archive.next_available_leaf_index: Don't we just need the root?
  • end_block_hash: Same as previous
  • end_archive.next_available_leaf_index: Same as previous
  • out_hash: Not checked anywhere in L1, also part of block header, so it's committed to as part of the archive root
  • end_timestamp: Can be derived from the end block's slot number if needed, also not checked on L1
  • end_block_number: Only used to look up the end_archive on L1, but if we know the epoch being proven, this could be derived

Also see the comments on #8704 for more context.

@spalladino
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant