Skip to content

Commit

Permalink
Update broken links in READMEs (#1740)
Browse files Browse the repository at this point in the history
* Update layouts link

* Update layouts link

* Update README.md

* Update broken layout links

* Update how cairo works link
  • Loading branch information
fmoletta authored Apr 30, 2024
1 parent d556d25 commit 8824507
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ To run a compiled .json program through the VM, call the executable giving it th
target/release/cairo-vm-cli cairo_programs/abs_value_array_compiled.json --layout all_cairo
```

The flag `--layout` determines which builtins can be used. More info about layouts [here](https://www.cairo-lang.org/docs/how_cairo_works/builtins.html#layouts).
The flag `--layout` determines which builtins can be used. More info about layouts [here](https://docs.cairo-lang.org/how_cairo_works/builtins.html#layouts).

To sum up, the following code will get you from zero to running a Cairo program:

Expand Down Expand Up @@ -332,7 +332,7 @@ You can find more detailed instructions in the [CONTRIBUTING.md](CONTRIBUTING.md

### Cairo

- From Cairo Documentation: [How Cairo Works](https://www.cairo-lang.org/docs/how_cairo_works/index.html#how-cairo-works)
- From Cairo Documentation: [How Cairo Works](https://docs.cairo-lang.org/how_cairo_works/index.html)
- [Cairo – a Turing-complete STARK-friendly CPU architecture](https://eprint.iacr.org/2021/1063)
- [A Verified Algebraic Representation of Cairo Program Execution](https://arxiv.org/pdf/2109.14534.pdf)
- [Cairo Verifier](https://github.com/patrickbiel01/Cairo_Verifier) in Rust
Expand Down
2 changes: 1 addition & 1 deletion cairo1-run/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ make run

The cairo1-run cli supports the following optional arguments:

* `--layout <LAYOUT>`: Sets the layout for the cairo_run. This will limit the available builtins. The deafult layout is `plain`, which has no builtins. For general purpose, the `all_cairo` layout contains all currently available builtins. More info about layouts [here](https://www.cairo-lang.org/docs/how_cairo_works/builtins.html#layouts).
* `--layout <LAYOUT>`: Sets the layout for the cairo_run. This will limit the available builtins. The deafult layout is `plain`, which has no builtins. For general purpose, the `all_cairo` layout contains all currently available builtins. More info about layouts [here](https://docs.cairo-lang.org/how_cairo_works/builtins.html#layouts).

* `--args <ARGUMENTS>`: Receives the arguments to be passed to the program's main function. Receives whitespace-separated values which can be numbers or arrays, with arrays consisting of whitespace-separated numbers wrapped between brackets

Expand Down

0 comments on commit 8824507

Please sign in to comment.