From c5544b32cd88b80f5c96d1cb98478bad31fe8482 Mon Sep 17 00:00:00 2001 From: John Guibas Date: Wed, 10 Jul 2024 11:35:31 -0700 Subject: [PATCH] fix: missing kzg_settings if kzg-rs feature enabled (#1601) --- crates/primitives/src/env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/primitives/src/env.rs b/crates/primitives/src/env.rs index 07d7dfd5b3..d89a67e698 100644 --- a/crates/primitives/src/env.rs +++ b/crates/primitives/src/env.rs @@ -395,7 +395,7 @@ impl Default for CfgEnv { chain_id: 1, perf_analyse_created_bytecodes: AnalysisKind::default(), limit_contract_code_size: None, - #[cfg(feature = "c-kzg")] + #[cfg(any(feature = "c-kzg", feature = "kzg-rs"))] kzg_settings: crate::kzg::EnvKzgSettings::Default, #[cfg(feature = "memory_limit")] memory_limit: (1 << 32) - 1,