Skip to content

Commit

Permalink
Update cairo-lang deps to 2.9.2 (#1891)
Browse files Browse the repository at this point in the history
* Update cairo-lang deps to 2.9.2

* update makefile

* fix
  • Loading branch information
edg-l authored Dec 11, 2024
1 parent d90bcc8 commit b416f80
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 68 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

#### Upcoming Changes

* chore: update the cairo-vm version used in the readme

* chore: update cairo-lang dependencies to 2.9.2

* fix: replace `div_rem` with `div_mod_floor` in `verify_zero` hints [#1881](https://github.com/lambdaclass/cairo-vm/pull/1881)

* feat: Implement `SECP related` hints [#1829](https://github.com/lambdaclass/cairo-vm/pull/1829)
Expand Down
113 changes: 60 additions & 53 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ thiserror-no-std = { version = "2.0.2", default-features = false }
bitvec = { version = "1", default-features = false, features = ["alloc"] }

# Dependencies for cairo-1-hints feature
cairo-lang-starknet = { version = "2.9.0-dev.0", default-features = false }
cairo-lang-casm = { version = "2.9.0-dev.0", default-features = false }
cairo-lang-starknet = { version = "2.9.2", default-features = false }
cairo-lang-casm = { version = "2.9.2", default-features = false }

cairo-lang-starknet-classes = { version = "2.9.0-dev.0", default-features = false }
cairo-lang-compiler = { version = "=2.9.0-dev.0", default-features = false }
cairo-lang-sierra-to-casm = { version = "2.9.0-dev.0", default-features = false }
cairo-lang-sierra = { version = "2.9.0-dev.0", default-features = false }
cairo-lang-runner = { version = "2.9.0-dev.0", default-features = false }
cairo-lang-utils = { version = "=2.9.0-dev.0", default-features = false }
cairo-lang-starknet-classes = { version = "2.9.2", default-features = false }
cairo-lang-compiler = { version = "=2.9.2", default-features = false }
cairo-lang-sierra-to-casm = { version = "2.9.2", default-features = false }
cairo-lang-sierra = { version = "2.9.2", default-features = false }
cairo-lang-runner = { version = "2.9.2", default-features = false }
cairo-lang-utils = { version = "=2.9.2", default-features = false }

# TODO: check these dependencies for wasm compatibility
ark-ff = { version = "0.4.2", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ $(CAIRO_2_CONTRACTS_TEST_DIR)/%.casm: $(CAIRO_2_CONTRACTS_TEST_DIR)/%.sierra
# ======================

CAIRO_2_REPO_DIR = cairo2
CAIRO_2_VERSION = 2.9.0-dev.0
CAIRO_2_VERSION = 2.9.2

build-cairo-2-compiler-macos:
@if [ ! -d "$(CAIRO_2_REPO_DIR)" ]; then \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ You can then activate this environment by running
You can add the following to your rust project's `Cargo.toml`:

```toml
cairo-vm = { version = '0.7.0'}
cairo-vm = { version = '1.0.1'}
```

### Running cairo-vm from CLI
Expand Down Expand Up @@ -243,7 +243,7 @@ When using cairo-vm with the Starknet devnet there are additional parameters tha
&mut hint_processor,
);
```
### Running cairo 1 programs
### Running cairo 1 programs

To run a cairo 1 program enter in the folder `cd cairo1-run` and follow the [`cairo1-run documentation`](cairo1-run/README.md)

Expand Down
Loading

0 comments on commit b416f80

Please sign in to comment.