Skip to content

refactor: Remove unneeded public inputs for Root Rollup circuits #8829

Closed

Description

@spalladino

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.

Activity

  1. spalladino commented on Jan 22, 2025

    @spalladino
    ContributorAuthor
  2. LHerskind commented on Mar 3, 2025

    @LHerskind
    Contributor

    Also update the genesis state struct introduced in #12409 (remove the blockhash)

  3. changed the title [-][circuits] Remove unneeded public inputs for Root Rollup circuits[/-] [+]refactor: Remove unneeded public inputs for Root Rollup circuits[/+] on May 1, 2025
  4. moved this from Todo to Done in A3on May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions