mirror of
https://github.com/anoma/juvix.git
synced 2024-12-13 11:16:48 +03:00
7d559b1f18
* Closes #2563 Checklist ------------ - [x] Serialization of the Haskell CASM representation to the JSON format accepted by the Cairo VM. - [x] Add the `cairo` target to the `compile` commands. - [x] Output via the Cairo `output` builtin. - [x] Relativize jumps. Cairo VM doesn't actually support absolute jumps. - [x] Test the translation from CASM to Cairo by running the output in the Cairo VM - [x] Add Cairo VM to the CI
7 lines
341 B
Bash
Executable File
7 lines
341 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
BASE=`basename "$1" .json`
|
|
|
|
gen_stone_params.py ${BASE}_public_input.json > ${BASE}_params.json
|
|
cpu_air_prover --out_file=${BASE}_proof.json --private_input_file=${BASE}_private_input.json --public_input_file=${BASE}_public_input.json --prover_config_file=cpu_air_prover_config.json --parameter_file=${BASE}_params.json
|