Skip to content

docs(spec): simplify zone state witness & make tempo proofs self-contained#681

Open
rkrasiuk wants to merge 1 commit into
mainfrom
rkrasiuk/prover-state-witness
Open

docs(spec): simplify zone state witness & make tempo proofs self-contained#681
rkrasiuk wants to merge 1 commit into
mainfrom
rkrasiuk/prover-state-witness

Conversation

@rkrasiuk

@rkrasiuk rkrasiuk commented Jul 16, 2026

Copy link
Copy Markdown
Member

Summary

Simplify the stateless proving witness and make Tempo L1 storage proofs self-contained.

Remove redundant decoded read descriptors: ZoneAccountRead, ZoneStorageRead, L1StateRead

Changes:

  • Remove the duplicated zone state root from ZoneStateWitness; derive it from parent_header.state_root.
  • Decode account and storage values directly from trie leaves in each witness node_pool.
  • Keep zone bytecode as hash-indexed preimages in ZoneStateWitness.bytecodes.
  • Add TempoStateWitness.initial_tempo_header_rlp- needed to prove initial state reads before the next L1 header advancement.

@rkrasiuk
rkrasiuk enabled auto-merge July 16, 2026 13:02
@rkrasiuk
rkrasiuk disabled auto-merge July 16, 2026 15:08
@tempoxyz-bot

tempoxyz-bot commented Jul 16, 2026

Copy link
Copy Markdown

👁️ Cyclops Security Review

e7756c0

❌ Workflow failed · no review posted

Cyclops failed before it could finish the PR review. This status was repaired by the workflow exit handler.

Field Value
Run label pr-681
Cause cyclops-pr-review-gqsss: failed; run-pr-review: main: Error (exit code 1)
Workflow cyclops-pr-review-gqsss
Namespace argo-workflows

No Cyclops review was posted for this run.

@0xKitsune
0xKitsune enabled auto-merge July 16, 2026 23:27
@0xKitsune
0xKitsune added this pull request to the merge queue Jul 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 16, 2026
Comment thread specs/spec.md

/// Decoded storage leaves needed to bootstrap execution
pub storage_reads: Vec<ZoneStorageRead>,
/// Deduplicated raw bytecode preimages, indexed by keccak256(bytecode).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

By "indexed" do you mean sorted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants