Skip to content

Conversation

@rozbb
Copy link
Contributor

@rozbb rozbb commented Jun 19, 2025

I found the smallest version of what I need for transparency: it should always be possible for a sequencer (that's been initialized) to produce 1) an inclusion proof for the last leaf, and 2) a consistency proof between the current tree and the current tree minus the last leaf. This PR implements those. I also ran the ignored test to make sure there are no cases where these proofs require hashes that aren't in the edge tiles.

I also made some assorted other fixes:

  1. I removed the generic log's check that the checkpoint extension is empty. We use extensions in WAICT.
  2. I renamed ctlog.rs in the generic log worker to log_ops.rs, because that's the closest description to what the file does imo

Copy link
Contributor

@lukevalenta lukevalenta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@lukevalenta lukevalenta merged commit 5672029 into cloudflare:main Jun 19, 2025
1 check passed
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