From 9d01c41b4dad6dad54ca526c9b808c8fed18160f Mon Sep 17 00:00:00 2001 From: Edgar Luque Date: Thu, 12 Dec 2024 11:47:11 -0300 Subject: [PATCH 1/2] fix getrandom dep --- vm/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/Cargo.toml b/vm/Cargo.toml index f5b35e3bdd..3437a30034 100644 --- a/vm/Cargo.toml +++ b/vm/Cargo.toml @@ -91,7 +91,7 @@ num-prime = { version = "0.4.3", features = ["big-int"] } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] wasm-bindgen-test = "0.3.34" # The js feature needs to be enabled -getrandom = { version = "*", features = ["js"]} +getrandom = { version = "0.2", features = ["js"]} [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] iai-callgrind = "0.3.1" From 965530a4d12e8bcd35cc68880f07b872301c7c37 Mon Sep 17 00:00:00 2001 From: Edgar Luque Date: Thu, 12 Dec 2024 11:47:40 -0300 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5305e06a95..48d9402d1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ #### [2.0.0-rc2] - 2024-12-12 +* fix: Change wildcard getrandom dependency. + * Update starknet-crypto to 0.7.3, removing the old FieldElement completly in favour of the new Felt (that is Copy). * chore: update the cairo-vm version used in the readme