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

Test suite for Miden SDK (tx_kernel API) ABI transformation #160

Closed
6 tasks done
greenhat opened this issue Apr 2, 2024 · 1 comment
Closed
6 tasks done

Test suite for Miden SDK (tx_kernel API) ABI transformation #160

greenhat opened this issue Apr 2, 2024 · 1 comment
Assignees
Labels
frontend wasm WebAssembly frontend
Milestone

Comments

@greenhat
Copy link
Contributor

greenhat commented Apr 2, 2024

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 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.

Tasks

  1. greenhat
  2. greenhat
  3. 1 of 1
    greenhat
@greenhat greenhat added frontend wasm WebAssembly frontend labels Apr 2, 2024
@greenhat greenhat added this to the Beta 1 milestone Apr 2, 2024
@greenhat greenhat self-assigned this Apr 2, 2024
@greenhat greenhat modified the milestones: Beta 1, Alpha May 27, 2024
@bitwalker
Copy link
Contributor

Closed via #284

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend wasm WebAssembly frontend
Projects
Status: Done
Development

No branches or pull requests

2 participants