Skip to content

Commit ea51a04

Browse files
authored
fix: missing kzg_settings if kzg-rs feature enabled (#1601)
1 parent 313146f commit ea51a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/primitives/src/env.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ impl Default for CfgEnv {
395395
chain_id: 1,
396396
perf_analyse_created_bytecodes: AnalysisKind::default(),
397397
limit_contract_code_size: None,
398-
#[cfg(feature = "c-kzg")]
398+
#[cfg(any(feature = "c-kzg", feature = "kzg-rs"))]
399399
kzg_settings: crate::kzg::EnvKzgSettings::Default,
400400
#[cfg(feature = "memory_limit")]
401401
memory_limit: (1 << 32) - 1,

0 commit comments

Comments
 (0)