Skip to content

Commit 45eaa2a

Browse files
fix workflow
1 parent 5540f96 commit 45eaa2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/wasm-demo-cairo1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To compile and run the example you need:
2323
To build the example, first you need to compile your Cairo Program, using either cairo 1 or cairo 2 compiler:
2424

2525
```sh
26-
cairo-compile -rs bitwise.cairo bitwise.sierra
26+
cairo-compile -rs ../../cairo_programs/cairo-1-programs/serialized_output/bitwise.cairo ../../cairo_programs/cairo-1-programs/serialized_output/bitwise.sierra
2727
```
2828

2929
> WARNING: This example uses `cairo1-run::cairo_run_program` which expectes the program to be compiled with debug names. By default, `cairo-compile` does not include debug names in sierra. Due to this, the flag `-r` or `--replace-ids` is needed.

examples/wasm-demo-cairo1/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pub fn run_cairo_program() -> Result<String, JsError> {
3434
..Default::default()
3535
};
3636

37-
let program_str = include_str!("../bitwise.sierra");
37+
let program_str = include_str!("../../../cairo_programs/cairo-1-programs/serialized_output/bitwise.sierra");
3838

3939
let sierra_program = ProgramParser::new().parse(program_str)?;
4040

0 commit comments

Comments
 (0)