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

Implement batch kernel in MASM #1122

Open
PhilippGackstatter opened this issue Feb 4, 2025 · 0 comments
Open

Implement batch kernel in MASM #1122

PhilippGackstatter opened this issue Feb 4, 2025 · 0 comments
Labels
kernels Related to transaction, batch, or block kernels
Milestone

Comments

@PhilippGackstatter
Copy link
Contributor

What should be done?

Implement the transaction batch kernel in Miden Assembly.

How should it be done?

This may have to be divided into smaller tasks, but the high-level goals are:

  • Add batch kernel to miden-lib, add it to build.rs and export it as a (Transaction)BatchKernel struct in Rust, similar to the existing TransactionKernel.
  • Add utility functions for preparing the stack inputs, advice inputs as well as parsing the outputs of the batch kernel. The inputs were discussed in Define batch kernel inputs/outputs #919.
  • Implement checks and computations from ProposedBatch::new in MASM.
  • Add the resulting ExecutionProof from executing the batch kernel to ProvenBatch.

When is this task done?

When the batch kernel execution can be proven in MASM.

Additional context

No response

@bobbinth bobbinth added this to the v0.9 milestone Feb 4, 2025
@bobbinth bobbinth added the kernels Related to transaction, batch, or block kernels label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernels Related to transaction, batch, or block kernels
Projects
None yet
Development

No branches or pull requests

2 participants