diff --git a/consensus/state_processing/src/upgrade/eip4844.rs b/consensus/state_processing/src/upgrade/eip4844.rs index d677fd666..ce88364f0 100644 --- a/consensus/state_processing/src/upgrade/eip4844.rs +++ b/consensus/state_processing/src/upgrade/eip4844.rs @@ -14,7 +14,7 @@ pub fn upgrade_to_eip4844( let previous_fork_version = if cfg!(feature ="withdrawals") { pre.fork.current_version } else { - spec.bellatrix_fork_epoch + spec.bellatrix_fork_version }; // Where possible, use something like `mem::take` to move fields from behind the &mut