Skip to content

Commit 587f490

Browse files
Merge branch 'store-idents-in-hints' into resolve-constants-by-full-path
2 parents 712d078 + e8978b6 commit 587f490

File tree

5 files changed

+33
-11
lines changed

5 files changed

+33
-11
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66

77
* breaking: Store constants in Hint Data [#2191](https://github.com/lambdaclass/cairo-vm/pull/2191)
88

9-
#### [2.4.0] - 2025-27-29
9+
#### [2.4.1] - 2025-09-03
10+
11+
* fix: Fix compute_ids_high_low hint constant path [#2193](https://github.com/lambdaclass/cairo-vm/pull/2193)
12+
13+
#### [2.4.0] - 2025-08-28
1014

1115
* chore: Bump types-rs to 0.2.0 [#2186](https://github.com/lambdaclass/cairo-vm/pull/2186)
1216

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ exclude = ["ensure-no_std"]
1616
resolver = "2"
1717

1818
[workspace.package]
19-
version = "2.4.0"
19+
version = "2.4.1"
2020
edition = "2021"
2121
license = "Apache-2.0"
2222
repository = "https://github.com/lambdaclass/cairo-vm/"
2323
readme = "README.md"
2424
keywords = ["starknet", "cairo", "vm", "wasm", "no_std"]
2525

2626
[workspace.dependencies]
27-
cairo-vm = { path = "./vm", version = "2.4.0", default-features = false }
28-
cairo-vm-tracer = { path = "./cairo-vm-tracer", version = "2.4.0", default-features = false }
27+
cairo-vm = { path = "./vm", version = "2.4.1", default-features = false }
28+
cairo-vm-tracer = { path = "./cairo-vm-tracer", version = "2.4.1", default-features = false }
2929
mimalloc = { version = "0.1.37", default-features = false }
3030
num-bigint = { version = "0.4", default-features = false, features = [
3131
"serde",
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
%builtins range_check
2+
3+
from starkware.cairo.common.secp256r1.field import assert_165_bit
4+
5+
func main{range_check_ptr: felt}() {
6+
let value = 10;
7+
assert_165_bit(value);
8+
return ();
9+
}

vm/src/tests/cairo_run_test.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,15 @@ fn cairo_run_secp_cairo0_negative_points() {
13531353
run_program_simple(program_data.as_slice());
13541354
}
13551355

1356+
#[test]
1357+
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test)]
1358+
#[cfg(feature = "cairo-0-secp-hints")]
1359+
fn cairo_run_secp_cairo0_assert_165_bits() {
1360+
let program_data =
1361+
include_bytes!("../../../cairo_programs/cairo-0-secp-hints-feature/assert_165_bit.json");
1362+
run_program_simple(program_data.as_slice());
1363+
}
1364+
13561365
#[test]
13571366
#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test)]
13581367
#[cfg(feature = "cairo-0-data-availability-hints")]

0 commit comments

Comments
 (0)