0xMiden / 0xMiden/protocol

Implement batch kernel in MASM

未关闭
#1,122 11 条评论 0 个 reaction 已指派 1 人 已被 @mmagician 认领 在 GitHub 查看
kernels
主要语言
Rust
星标
132
派生
167
平均合并
1 天 23 小时
30 天内合并 PR
110

描述

### 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 https://github.com/0xPolygonMiden/miden-base/issues/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_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。