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

Multi-Claim Proofs #301

Open
aszepieniec opened this issue Jun 11, 2024 · 1 comment
Open

Multi-Claim Proofs #301

aszepieniec opened this issue Jun 11, 2024 · 1 comment

Comments

@aszepieniec
Copy link
Collaborator

I finished a first draft for documentation on the validity rules for transactions here. It highlights one important issue and anticipates a solution.

The issue is this: with the current Triton VM, we cannot generate a single-proof for a transaction without recursion, even if all parts not related to recursion are an order of magnitude less complex. In particular, we need to prove, for every lock script and type script, that those scripts halt gracefully.

The anticipated solution is this: generate a single-proof for multiple claims. If memory serves, Ferdinand had articulated the idea a while ago. The integrity of the AET implies the truth of not one but several claims.

@aszepieniec
Copy link
Collaborator Author

Brainstorming out loud here. To support this feature we need:

  • an opcode to delimit the end of one program and the beginning of the next
  • to extend halt with an optional immediate argument containing the instruction address of the next program, if any
  • to compute not one but multiple program hashes
  • to conditionally reset all state-bearing registers and populate the bottom of the stack with the next program hash
  • to tailor all cross-table arguments to the $i$th program execution so as to disallow cross-program communication

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

No branches or pull requests

1 participant