mirror of
https://github.com/anoma/juvix.git
synced 2024-12-23 06:42:40 +03:00
651875ec89
* Closes #2687 * Adds hint support in CASM. The supported hints are `Input(var)` and `Alloc(size)`. These are the hints currently implemented in [juvix-cairo-vm](https://github.com/anoma/juvix-cairo-vm). * Adds the `--program_input` option to the `juvix dev casm run` command. * Enables private inputs via `main` arguments. In generated CASM/Cairo code, the arguments to `main` are fetched using the `Input` hint. * Modifies the CI to use [juvix-cairo-vm](https://github.com/anoma/juvix-cairo-vm)
6 lines
264 B
Bash
Executable File
6 lines
264 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
BASE=`basename "$1" .json`
|
|
|
|
juvix-cairo-vm "$@" --print_output --proof_mode --trace_file ${BASE}.trace --air_public_input=${BASE}_public_input.json --air_private_input=${BASE}_private_input.json --memory_file=${BASE}_memory.mem --layout=small
|