Skip to content

Simplify continuation L2G trace construction#732

Merged
MauroToscano merged 1 commit into
continuations-local-to-globalfrom
continuation-followup-cleanups
Jun 26, 2026
Merged

Simplify continuation L2G trace construction#732
MauroToscano merged 1 commit into
continuations-local-to-globalfrom
continuation-followup-cleanups

Conversation

@MauroToscano

@MauroToscano MauroToscano commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

This PR keeps only the prove_epoch L2G staging cleanup.

Changes

  • Build the epoch-local L2G trace directly from the cross-epoch boundary.
  • Remove the temporary traces.local_to_global assignment and immediate mem::replace with an empty trace.
  • Leave CLI epoch-size policy unchanged; no --epoch-size-log2 upper bound is introduced here.

Why

The L2G table is appended to the epoch proof explicitly, not via VmAirs::air_trace_pairs. Building it directly avoids constructing and swapping an unused temporary trace without changing the committed table.

Testing

  • make compile-programs-asm
  • cargo test -p lambda-vm-prover continuation::tests -- --nocapture
  • make lint

@MauroToscano MauroToscano force-pushed the continuation-followup-cleanups branch from 27bc446 to 194919d Compare June 26, 2026 22:31
@MauroToscano MauroToscano changed the title Continuation follow-up cleanups: epoch-size upper bound and L2G staging Simplify continuation L2G trace construction Jun 26, 2026
@MauroToscano MauroToscano merged commit 9c3cb93 into continuations-local-to-global Jun 26, 2026
12 checks passed
@MauroToscano MauroToscano deleted the continuation-followup-cleanups branch June 26, 2026 22:41
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.

1 participant