From 3f3df3eb76acf03105b0698b650db2c46dcf3fa5 Mon Sep 17 00:00:00 2001 From: Edgar Date: Thu, 12 Dec 2024 12:39:45 -0300 Subject: [PATCH] Fix getrandom wildcard dep (#1894) * fix getrandom dep * changelog --- CHANGELOG.md | 2 ++ vm/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 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"