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

feat(zkgm): simplify forward instruction and introduce more tests #3988

Merged
merged 1 commit into from
Mar 8, 2025

Conversation

hussein-aitlahcen
Copy link
Contributor

@hussein-aitlahcen hussein-aitlahcen commented Mar 8, 2025

Refactor the forward instruction to wrap the entire path, on execution we dequeue the intermediate channel from the path and either re-yield the forward packet with the tail of the path or yield the embedded instruction if we are reaching the destination (we just executed the final hop).

exec(zkgm([...], forward([x, y], i))) = send(y, zkgm([..., x, y], i))
exec(zkgm([...], forward([x, y, cont], i))) = send(y, zkgm([..., x, y], forward([cont], i)))

Copy link

vercel bot commented Mar 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
site ⬜️ Ignored (Inspect) Visit Preview Mar 8, 2025 4:37pm

@hussein-aitlahcen hussein-aitlahcen merged commit d09d3de into main Mar 8, 2025
110 checks passed
@hussein-aitlahcen hussein-aitlahcen deleted the zkgm-forward-simple branch March 8, 2025 17:08
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