From 349762ad9d5b754a0696823a2ea1c7795cc036af Mon Sep 17 00:00:00 2001 From: clabby Date: Thu, 4 Apr 2024 18:23:31 -0400 Subject: [PATCH] fix wasm build --- crates/consensus/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/consensus/Cargo.toml b/crates/consensus/Cargo.toml index 0be412f4adf9..3924d5dbd393 100644 --- a/crates/consensus/Cargo.toml +++ b/crates/consensus/Cargo.toml @@ -38,8 +38,8 @@ serde_json.workspace = true [features] default = ["std"] -std = ["alloy-eips/std", "c-kzg/std", "sha2/std"] +std = ["alloy-eips/std", "sha2/std", "c-kzg?/std"] k256 = ["alloy-primitives/k256"] -kzg = ["std", "dep:c-kzg", "dep:thiserror", "alloy-eips/kzg"] +kzg = ["dep:c-kzg", "dep:thiserror", "alloy-eips/kzg", "std"] arbitrary = ["std", "dep:arbitrary", "alloy-eips/arbitrary"] serde = ["dep:serde", "alloy-primitives/serde", "dep:alloy-serde", "alloy-eips/serde"]