diff --git a/Cargo.toml b/Cargo.toml index 77d6f57..68445e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,6 +29,9 @@ serde_json = "1" sha3 = "0.9" strum_macros = "0.21" +[target.'cfg(target_arch = "wasm32")'.dependencies] +getrandom = { version = "0.2.3", features = ["js"]} + [dev-dependencies] evmodin-test = { path = ".", package = "evmodin", features = ["util"] } hex-literal = "0.3"