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 摘要。