Skip to content

Commit

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

* update Changelog

---------

Co-authored-by: Pedro Fontana <peter@Pedros-MacBook-Pro.local>
  • Loading branch information
pefontana and Pedro Fontana committed Aug 1, 2024
1 parent d33589a commit d9c6331
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 65 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

#### Upcoming Changes

* chore: bump `cairo-lang-` dependencies to 2.7.0 [#1813](https://github.com/lambdaclass/cairo-vm/pull/1813)

* fix(BREAKING): Don't assume output builtin is first when counting memory holes

* Logic change: Memory hole counting no longer asumes that the output builtin ocuppies the first builtin segment if present
* Signature change: `MemorySegmentManager` method `get_memory_holes` now receives the index of the output builtin (as an `Option<usize>`) instead of the boolean argument `has_output_builtin`[#1807](https://github.com/lambdaclass/cairo-vm/pull/1811)
* Signature change: `MemorySegmentManager` method `get_memory_holes` now receives the index of the output builtin (as an `Option<usize>`) instead of the boolean argument `has_output_builtin`[#1811](https://github.com/lambdaclass/cairo-vm/pull/1811)

* fix: ambiguous keccak module name use on external contexts
* fix: ambiguous keccak module name use on external contexts [#1809](https://github.com/lambdaclass/cairo-vm/pull/1809)

#### [1.0.0-rc6] - 2024-07-22

Expand Down
104 changes: 52 additions & 52 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 @@ -66,15 +66,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.7.0-rc.3", default-features = false }
cairo-lang-casm = { version = "2.7.0-rc.3", default-features = false }
cairo-lang-starknet = { version = "2.7.0", default-features = false }
cairo-lang-casm = { version = "2.7.0", default-features = false }

cairo-lang-starknet-classes = { version = "2.7.0-rc.3", default-features = false }
cairo-lang-compiler = { version = "=2.7.0-rc.3", default-features = false }
cairo-lang-sierra-to-casm = { version = "2.7.0-rc.3", default-features = false }
cairo-lang-sierra = { version = "2.7.0-rc.3", default-features = false }
cairo-lang-runner = { version = "2.7.0-rc.3", default-features = false }
cairo-lang-utils = { version = "=2.7.0-rc.3", default-features = false }
cairo-lang-starknet-classes = { version = "2.7.0", default-features = false }
cairo-lang-compiler = { version = "=2.7.0", default-features = false }
cairo-lang-sierra-to-casm = { version = "2.7.0", default-features = false }
cairo-lang-sierra = { version = "2.7.0", default-features = false }
cairo-lang-runner = { version = "2.7.0", default-features = false }
cairo-lang-utils = { version = "=2.7.0", default-features = false }

# TODO: check these dependencies for wasm compatibility
ark-ff = { version = "0.4.2", default-features = false }
Expand Down
6 changes: 3 additions & 3 deletions cairo1-run/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ keywords.workspace = true
cairo-vm = {workspace = true, features = ["std", "cairo-1-hints", "clap"]}
serde_json = { workspace = true }

cairo-lang-sierra-type-size = { version = "2.7.0-rc.3", default-features = false }
cairo-lang-sierra-ap-change = { version = "2.7.0-rc.3", default-features = false }
cairo-lang-sierra-gas = { version = "2.7.0-rc.3", default-features = false }
cairo-lang-sierra-type-size = { version = "2.7.0", default-features = false }
cairo-lang-sierra-ap-change = { version = "2.7.0", default-features = false }
cairo-lang-sierra-gas = { version = "2.7.0", default-features = false }
cairo-lang-starknet-classes.workspace = true
cairo-lang-sierra-to-casm.workspace = true
cairo-lang-compiler.workspace = true
Expand Down

0 comments on commit d9c6331

Please sign in to comment.