Skip to content

Commit

Permalink
Use lambdaworks felt (lambdaclass#1176)
Browse files Browse the repository at this point in the history
* Bump starkent crypto version

* Update cairo-vm rev

* Use Felt252::ZERO & Felt252::ONE

* Use new Felt252

* Fix tests

* Partially fix benchs

* Make felt public

* use from_bytes_be_slice from constants

* Fix cairo_naitive syscalls

* cargo clippy --fix

* Fix naitive syscall

* fix cargo clippy

* restore rpc_state_reader/tests/blockifier_tests.rs

* fix rpc_state_reader/tests/blockifier_tests.rs

* Fix cairo_native tests

* Update cairo_native commit

* cargo fmt

* remove unused import

* Update starknet-core-types, cairo-vm & cairo-native crate versions

* use temporary version for cairo-native

* Temp solution: import two versions of once_cell

* Only import one version

* Update enum name

* Update native_execute to use new cache & executor api

* Update native_bench

* Update internals

* temp: local native

* Update cairo-native version + remove uneeded dependency

* Clippy

* Fix

* Add Makefile target to build native runtime

* Fix

* fix

* Update clean target

* Fix

* Add env var

* Default to jit

* Add env var

* Revert changes related to native runtime

* Revert changes related to native runtime

* Default to jit

* Remove clone

---------

Co-authored-by: Federica <fedemoletta@hotmail.com>
  • Loading branch information
pefontana and fmoletta authored Jan 3, 2024
1 parent c1c6f21 commit 98a5e71
Show file tree
Hide file tree
Showing 82 changed files with 2,232 additions and 2,084 deletions.
151 changes: 122 additions & 29 deletions Cargo.lock

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

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ cairo-lang-runner = "2.3.1"
cairo-lang-sierra = "2.3.1"
cairo-lang-starknet = "2.3.1"
cairo-lang-utils = "2.3.1"
cairo-vm = { version = "0.8.5", features = ["cairo-1-hints"] }
cairo-vm = { git = "https://github.com/lambdaclass/cairo-vm", rev = "7af00641014f295d820cbc6417714d6470823440", features = ["cairo-1-hints"] }
num-traits = "0.2.15"
starknet = "0.5.0"
starknet_api = "0.4.1"
Expand All @@ -43,7 +43,9 @@ cairo-lang-runner = { workspace = true }
cairo-lang-sierra = { workspace = true }
cairo-lang-starknet = { workspace = true }
cairo-lang-utils = { workspace = true }
cairo-native = { git = "https://github.com/lambdaclass/cairo_native", rev = "dc3ee4a746388c1f7fcc30f097da3220a5b1d3dc", optional = true }
cairo-native = { git = "https://github.com/lambdaclass/cairo_native", rev = "16b36c8fb609c5a16ca646b9784fac291994f80f", optional = true }


cairo-vm = { workspace = true }
flate2 = "1.0.25"
getset = "0.1.2"
Expand Down
Loading

0 comments on commit 98a5e71

Please sign in to comment.