You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal is to test both the ABI transformation strategies implemented in the frontend and the Rust bindings written for every Miden SDK tx-kernel API function in the miden-tx-kernel crate (see get_inputs for example).
Implementation details
We can generate the tx_kernel API function stubs in the IR that will assert certain facts about the inputs and return mocked data, and then run the compiled code in the Miden VM. This approach has a drawback that it would not be able to use property-based testing, since the inputs and outputs are hard-coded in the stubs.
The content you are editing has changed. Please copy your edits and refresh the page.
Goal
The goal is to test both the ABI transformation strategies implemented in the frontend and the Rust bindings written for every Miden SDK
tx-kernel
API function in themiden-tx-kernel
crate (seeget_inputs
for example).Implementation details
We can generate the
tx_kernel
API function stubs in the IR that will assert certain facts about the inputs and return mocked data, and then run the compiled code in the Miden VM. This approach has a drawback that it would not be able to use property-based testing, since the inputs and outputs are hard-coded in the stubs.Tasks
get_inputs
ABI transformation test (clk=17
) on VM #225assert
inintrinsics::mem::replace_element
in executingget_inputs
test (clk=451
) in VM #230The text was updated successfully, but these errors were encountered: